MinusculeMatcher () { MinusculeMatcher matcher = typoTolerant ? FixingLayoutTypoTolerantMatcher.create(pattern, caseSensitivity, separators) : allOccurrences ? AllOccurrencesMatcher.create(pattern, caseSensitivity, separators) : new FixingLayoutMatcher(pattern, caseSensitivity, separators); if (preferStartMatches) { matcher = new PreferStartMatchMatcherWrapper(matcher); } matcher = PinyinMatcher.create(matcher); return matcher; }