Stopwords

public class Stopwords

Stopwords are words that don't really mean anything, e.g. 'the'. This object returns a list of stopwords for a language.

Functions

Link copied to clipboard
public final Pair<LanguageSupport, Set<String>> getCache()
Link copied to clipboard
public final Boolean isStopword(String word, LanguageSupport language)
Link copied to clipboard
public final Unit setCache(Pair<LanguageSupport, Set<String>> cache)
Link copied to clipboard
public final Set<String> stopwords(LanguageSupport language)
Link copied to clipboard
public final Set<String> stopwordsOrNull(LanguageSupport language)

Properties

Link copied to clipboard
private Pair<LanguageSupport, Set<String>> cache
Link copied to clipboard
public final static Stopwords INSTANCE