Class SpellChecker

    • Constructor Detail

      • SpellChecker

        public SpellChecker​(@NonNull
                            @NonNull WordEmbedding spellingEmbedding)
        Instantiates a new Spellchecker module.
        Parameters:
        spellingEmbedding - the spelling embedding
      • SpellChecker

        public SpellChecker​(@NonNull
                            @NonNull WordEmbedding spellingEmbedding,
                            @NonNull
                            @NonNull Resource dictionary,
                            int maxCost)
        Instantiates a new Spellchecker module.
        Parameters:
        spellingEmbedding - the spelling embedding
        dictionary - the dictionary
        maxCost - the max cost