TokenStream result = new StandardTokenizer(Version.LUCENE_CURRENT, reader);
result = new StandardFilter(result);
result = new LowerCaseFilter(result);
result = new StopFilter(true, result, StandardAnalyzer.STOP_WORDS_SET);
TermAttribute termAtt = (TermAttribute) result.addAttribute(TermAttribute.class);
StringBuilder buf = new StringBuilder();
try {
while (result.incrementToken()) {
if (termAtt.termLength() < 3) continue;
String word = new String(termAtt.termBuffer(), 0, termAtt.termLength());