Package org.languagetool.rules.spelling.suggestions
package org.languagetool.rules.spelling.suggestions
-
ClassDescriptionHelper class for SuggestionChangesTest, tracks experiment configuration and results Rules should use getInstance() != null -> getInstance().getCurrentExperiment() in constructors to fetch relevant parameters Use isRunningExperiment if no parameters are neededComputes features that can be stored for training a model to rank suggestions, or when using the same model for prediction Used directly by SuggestionChangesTest for the former, and as a superclass for the latterImplementing classes must provide confidence values with the SuggestedReplacement objects returned by orderSuggestions