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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
isMlAvailablein 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:
orderSuggestionsin interfaceSuggestionsOrderer
-