public class CustomStemmingPreprocessor extends CommonPreprocessor
Constructor and Description |
---|
CustomStemmingPreprocessor(org.tartarus.snowball.SnowballProgram stemmer) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
preProcess(java.lang.String token)
Pre process a token
|
public CustomStemmingPreprocessor(@NonNull org.tartarus.snowball.SnowballProgram stemmer)
public java.lang.String preProcess(java.lang.String token)
TokenPreProcess
preProcess
in interface TokenPreProcess
preProcess
in class CommonPreprocessor
token
- the token to pre process