tok = new LowerCaseFilter(matchVersion, tok);
tok = new SynonymFilter(tok, acronymMergingMap, false);
if (commonWords != null && commonWords.size() > 0)
tok = new CommonGramsFilter(matchVersion, tok, commonWords, false);
if ((suffixByTokenType != null) && (suffixByTokenType.size() > 0))
tok = new AddSuffixFilter(tok, suffixByTokenType);
return new TokenStreamComponents(src, tok) {
@Override
protected void setReader(final Reader reader) throws IOException {
super.setReader(reader);
}