FileDocCategorySizeDatePackage
ChineseAnalyzer.javaAPI DocApache Lucene 2.1.01700Wed Feb 14 10:46:28 GMT 2007org.apache.lucene.analysis.cn

ChineseAnalyzer

public class ChineseAnalyzer extends Analyzer
Title: ChineseAnalyzer Description: Subclass of org.apache.lucene.analysis.Analyzer build from a ChineseTokenizer, filtered with ChineseFilter. Copyright: Copyright (c) 2001 Company:
author
Yiyi Sun
version
1.0

Fields Summary
Constructors Summary
public ChineseAnalyzer()

    
Methods Summary
public final org.apache.lucene.analysis.TokenStreamtokenStream(java.lang.String fieldName, java.io.Reader reader)
Creates a TokenStream which tokenizes all the text in the provided Reader.

return
A TokenStream build from a ChineseTokenizer filtered with ChineseFilter.

        TokenStream result = new ChineseTokenizer(reader);
        result = new ChineseFilter(result);
        return result;