Class WordCorrectionGenerator
- java.lang.Object
-
- org.predict4all.nlp.words.correction.WordCorrectionGenerator
-
public class WordCorrectionGenerator extends java.lang.Object
Idées inversion à distance de 2 = "renuméré" Gestion des inversions
-
-
Constructor Summary
Constructors Constructor Description WordCorrectionGenerator(WordDictionary wordDictionary, AbstractNGramDictionary<? extends AbstractNGramTrieNode<?>> staticNgramDictionary, PredictionParameter predictionParameter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCorrectionsFor(java.lang.String prefixRaw, java.util.Map<BiIntegerKey,NextWord> words, boolean searchLowerCase, gnu.trove.set.hash.TIntHashSet wordIdsToExclude)
void
dispose()
-
-
-
Constructor Detail
-
WordCorrectionGenerator
public WordCorrectionGenerator(WordDictionary wordDictionary, AbstractNGramDictionary<? extends AbstractNGramTrieNode<?>> staticNgramDictionary, PredictionParameter predictionParameter)
-
-
Method Detail
-
dispose
public void dispose()
-
addCorrectionsFor
public void addCorrectionsFor(java.lang.String prefixRaw, java.util.Map<BiIntegerKey,NextWord> words, boolean searchLowerCase, gnu.trove.set.hash.TIntHashSet wordIdsToExclude)
-
-