Class UnstemmedEnglishAnalyzer

  extended by org.apache.lucene.analysis.Analyzer
      extended by

public class UnstemmedEnglishAnalyzer
extends org.apache.lucene.analysis.Analyzer

English analyzer that does a similar job to EnglishAnalyzer but does not break tokens down to their word stems/roots. That is, the original word forms are preserved to accommodate extraction of words for adding to the "Did You Mean" dictionary.

Field Summary
Fields inherited from class org.apache.lucene.analysis.Analyzer
Constructor Summary
Method Summary
 org.apache.lucene.analysis.TokenStream tokenStream(String string, Reader reader)
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, getOffsetGap, getPositionIncrementGap, getPreviousTokenStream, reusableTokenStream, setOverridesTokenStreamMethod, setPreviousTokenStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public UnstemmedEnglishAnalyzer()
Method Detail


public org.apache.lucene.analysis.TokenStream tokenStream(String string,
                                                          Reader reader)
Specified by:
tokenStream in class org.apache.lucene.analysis.Analyzer

Copyright © 2003-2013 Atlassian. All Rights Reserved.