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 classDeprecated.private static classDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final StringDeprecated.private static final IntegerDeprecated.private booleanDeprecated.private SuggestionsOrdererGSoC.NGramUtilDeprecated.private static final StringDeprecated.private biz.k11i.xgboost.PredictorDeprecated.private static final StringDeprecated.private static final StringDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionSuggestionsOrdererGSoC(Language language, LanguageModel languageModel, String ruleId) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.orderSuggestions(List<String> suggestions, String word, AnalyzedSentence sentence, int startPos) Deprecated.private floatprocessRow(String sentence, String correctedSentence, String covered, String replacement, Integer contextLength) Deprecated.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SuggestionsOrderer
orderSuggestionsUsingModel
-
Field Details
-
SPC_NGRAM_BASED_MODEL_FILENAME
-
NO_NGRAM_BASED_MODEL_FILENAME
-
XGBOOST_MODEL_BASE_PATH
-
COMMON_DEFAULT_MODEL_PATH
-
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:
isMlAvailablein interfaceSuggestionsOrderer
-
processRow
-
orderSuggestions
public List<SuggestedReplacement> orderSuggestions(List<String> suggestions, String word, AnalyzedSentence sentence, int startPos) Deprecated.- Specified by:
orderSuggestionsin interfaceSuggestionsOrderer
-