public class FindSuggestionsFilter extends AbstractFindSuggestionsFilter
AbstractFindSuggestionsFilter.StringComparator
Modifier and Type | Field and Description |
---|---|
protected static String |
DICT_FILENAME |
static String[] |
LemmasToAllow |
static String[] |
LemmasToIgnore |
protected static MorfologikSpeller |
speller |
MAX_SUGGESTIONS
Constructor and Description |
---|
FindSuggestionsFilter() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getSpellingSuggestions(AnalyzedTokenReadings atr) |
protected Tagger |
getTagger() |
protected boolean |
isSuggestionException(AnalyzedTokenReadings analyzedSuggestion) |
acceptRuleMatch, cleanSuggestion, getSynthesizer
getOptional, getOptional, getPosition, getRequired, isMatchAtSentenceStart, matches
protected static final String DICT_FILENAME
protected static MorfologikSpeller speller
public static final String[] LemmasToIgnore
public static final String[] LemmasToAllow
public FindSuggestionsFilter() throws IOException
IOException
protected Tagger getTagger()
getTagger
in class AbstractFindSuggestionsFilter
protected List<String> getSpellingSuggestions(AnalyzedTokenReadings atr) throws IOException
getSpellingSuggestions
in class AbstractFindSuggestionsFilter
IOException
protected boolean isSuggestionException(AnalyzedTokenReadings analyzedSuggestion)
isSuggestionException
in class AbstractFindSuggestionsFilter