34353637383940
super.init(args); warnDeprecated("Use StopFilterFactory instead."); } public ChineseFilter create(TokenStream in) { return new ChineseFilter(in); }
28293031323334
*/ @Deprecated public class ChineseFilterFactory extends TokenFilterFactory { public ChineseFilter create(TokenStream in) { return new ChineseFilter(in); }
21222324252627
import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.cn.ChineseFilter; public class ChineseFilterFactory extends BaseTokenFilterFactory { public ChineseFilter create(TokenStream in) { return new ChineseFilter( in ); }
38394041424344
throw new IllegalArgumentException("Unknown parameters: " + args); } } public ChineseFilter create(TokenStream in) { return new ChineseFilter(in); }