org.wltea.analyzer.lucene.IKTokenizer Java Examples

The following examples show how to use org.wltea.analyzer.lucene.IKTokenizer. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: IkTokenizerFactory.java    From Elasticsearch-Tutorial-zh-CN with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Tokenizer create() {
    return new IKTokenizer(configuration);  }
 
Example #2
Source File: IKTokenizerFactory.java    From es-ik with Apache License 2.0 4 votes vote down vote up
@Override
public Tokenizer create(Reader reader) {
    return new IKTokenizer(reader, configuration);
}
 
Example #3
Source File: IKTokenizerFactory.java    From IKAnalyzer with Apache License 2.0 4 votes vote down vote up
/** {@inheritDoc} */
public Tokenizer create(Reader in) {
	return new IKTokenizer(in , this.useSmart);
}