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, getSynthesizergetOptional, getOptional, getPosition, getRequired, isMatchAtSentenceStart, matchesprotected static final String DICT_FILENAME
protected static MorfologikSpeller speller
public static final String[] LemmasToIgnore
public static final String[] LemmasToAllow
public FindSuggestionsFilter()
throws IOException
IOExceptionprotected Tagger getTagger()
getTagger in class AbstractFindSuggestionsFilterprotected List<String> getSpellingSuggestions(AnalyzedTokenReadings atr) throws IOException
getSpellingSuggestions in class AbstractFindSuggestionsFilterIOExceptionprotected boolean isSuggestionException(AnalyzedTokenReadings analyzedSuggestion)
isSuggestionException in class AbstractFindSuggestionsFilter