@author Zhiliang Wang [qieqie.wang@gmail.com] @see Beef @see Knife @see Paoding @see Tokenizer @see PaodingAnalyzer @see Collector @see TokenCollector @see MAxTokenCollector @see MostWordsTokenCollector @since 1.0
20212223242526272829
private Knife knife; private TokenCollector tokenCollector; public SolrPaodingTokenizer(Reader input, Knife knife, TokenCollector tokenCollector) { paodingTokenizer = new PaodingTokenizer(input, knife, tokenCollector); this.input = input; this.knife = knife; this.tokenCollector = tokenCollector; }
3536373839404142
public void close() throws IOException { paodingTokenizer.close(); } public void reset(Reader input) throws IOException { paodingTokenizer = new PaodingTokenizer(input, knife, tokenCollector); this.input = input; }