Package org.apache.lucene.analysis.shingle
package org.apache.lucene.analysis.shingle
Word n-gram filters.
-
ClassesClassDescriptionA FixedShingleFilter constructs shingles (token n-grams) from a token stream.Factory for
FixedShingleFilterParameters are: shingleSize - how many tokens should be combined into each shingle (default: 2) tokenSeparator - how tokens should be joined together in the shingle (default: space) fillerToken - what should be added in place of stop words (default: _ )A ShingleAnalyzerWrapper wraps aShingleFilteraround anotherAnalyzer.A ShingleFilter constructs shingles (token n-grams) from a token stream.Factory forShingleFilter.