Example usage for Java org.apache.lucene.analysis.miscellaneous WordDelimiterFilter fields, constructors, methods, implement or subclass
The text is from its open source code.
int | LOWER |
int | UPPER |
int | DIGIT |
int | SUBWORD_DELIM |
int | ALPHA |
int | ALPHANUM |
int | GENERATE_WORD_PARTS Causes parts of words to be generated: "PowerShot" => "Power" "Shot" |
int | GENERATE_NUMBER_PARTS Causes number subwords to be generated: "500-42" => "500" "42" |
int | CATENATE_WORDS Causes maximum runs of word parts to be catenated: "wi-fi" => "wifi" |
int | PRESERVE_ORIGINAL Causes original words are preserved and added to the subword list (Defaults to false) "500-42" => "500" "42" "500-42" |
int | SPLIT_ON_CASE_CHANGE If not set, causes case changes to be ignored (subwords will only be generated given SUBWORD_DELIM tokens) |
int | SPLIT_ON_NUMERICS If not set, causes numeric changes to be ignored (subwords will only be generated given SUBWORD_DELIM tokens). |
int | STEM_ENGLISH_POSSESSIVE Causes trailing "'s" to be removed for each subword "O'Neil's" => "O", "Neil" |
WordDelimiterFilter(TokenStream in, int configurationFlags, CharArraySet protWords) Creates a new WordDelimiterFilter using WordDelimiterIterator#DEFAULT_WORD_DELIM_TABLE as its charTypeTable | |
WordDelimiterFilter(TokenStream in, byte[] charTypeTable, int configurationFlags, CharArraySet protWords) Creates a new WordDelimiterFilter |