rename method to conform with other custom analysis methods
This commit is contained in:
parent
cec46d552d
commit
dd60187735
|
@ -146,7 +146,7 @@ public class AnalysisModule extends AbstractModule {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public AnalysisModule addTokenizerFactory(String name, Class<? extends TokenizerFactory> tokenizer) {
|
public AnalysisModule addTokenizer(String name, Class<? extends TokenizerFactory> tokenizer) {
|
||||||
tokenizers.put(name, tokenizer);
|
tokenizers.put(name, tokenizer);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue