CatalanAnalyzer

constructor()

Builds an analyzer with the default stop words: DEFAULT_STOPWORD_FILE.


constructor(stopwords: CharArraySet)

Builds an analyzer with the given stop words.

Parameters

stopwords

a stopword set


constructor(stopwords: CharArraySet, stemExclusionSet: CharArraySet)

Builds an analyzer with the given stop words. If a non-empty stem exclusion set is provided this analyzer will add a SetKeywordMarkerFilter before stemming.

Parameters

stopwords

a stopword set

stemExclusionSet

a set of terms not to be stemmed