@Override
    public int matchingDegree(String pattern, String text) {
      return matchingFragments(pattern, text) != null ? 1 : 0;
    }
@Override
    public int matchingDegree(String pattern, String text)