Class SuggestionsOrdererGSoC
java.lang.Object
org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrdererGSoC
- All Implemented Interfaces:
SuggestionsOrderer
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
Deprecated.private static class
Deprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
Deprecated.private static final Integer
Deprecated.private boolean
Deprecated.private SuggestionsOrdererGSoC.NGramUtil
Deprecated.private static final String
Deprecated.private biz.k11i.xgboost.Predictor
Deprecated.private static final String
Deprecated.private static final String
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionSuggestionsOrdererGSoC
(Language language, LanguageModel languageModel, String ruleId) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.orderSuggestions
(List<String> suggestions, String word, AnalyzedSentence sentence, int startPos) Deprecated.private float
processRow
(String sentence, String correctedSentence, String covered, String replacement, Integer contextLength) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.languagetool.rules.spelling.suggestions.SuggestionsOrderer
orderSuggestionsUsingModel
-
Field Details
-
SPC_NGRAM_BASED_MODEL_FILENAME
Deprecated.- See Also:
-
NO_NGRAM_BASED_MODEL_FILENAME
Deprecated.- See Also:
-
XGBOOST_MODEL_BASE_PATH
Deprecated.- See Also:
-
COMMON_DEFAULT_MODEL_PATH
Deprecated.- See Also:
-
DEFAULT_CONTEXT_LENGTH
Deprecated. -
mlAvailable
private boolean mlAvailableDeprecated. -
nGramUtil
Deprecated. -
predictor
private biz.k11i.xgboost.Predictor predictorDeprecated.
-
-
Constructor Details
-
SuggestionsOrdererGSoC
Deprecated.
-
-
Method Details
-
isMlAvailable
public boolean isMlAvailable()Deprecated.- Specified by:
isMlAvailable
in interfaceSuggestionsOrderer
-
processRow
private float processRow(String sentence, String correctedSentence, String covered, String replacement, Integer contextLength) Deprecated. -
orderSuggestions
public List<SuggestedReplacement> orderSuggestions(List<String> suggestions, String word, AnalyzedSentence sentence, int startPos) Deprecated.- Specified by:
orderSuggestions
in interfaceSuggestionsOrderer
-