FileDocCategorySizeDatePackage
ChineseAnalyzer.javaAPI DocApache Lucene 1.91517Mon Feb 20 09:18:48 GMT 2006org.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;