Package org.languagetool.rules
Class ScoredConfusionSetLoader
- java.lang.Object
-
- org.languagetool.rules.ScoredConfusionSetLoader
-
public class ScoredConfusionSetLoader extends Object
Loads a confusion set from a plain text file (UTF-8). Seeneuralnetwork_confusion_sets.txt
for a description of the file format.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<ScoredConfusionSet>
loadConfusionSet(InputStream stream)
-
-
-
Method Detail
-
loadConfusionSet
public static List<ScoredConfusionSet> loadConfusionSet(InputStream stream) throws IOException
- Throws:
IOException
-
-