Class VagueSpellChecker

java.lang.Object
org.languagetool.rules.spelling.VagueSpellChecker

public class VagueSpellChecker extends Object
A spell checker that's fast but not guaranteed to always agree with the "real" spell checker used in LT. Doesn't offer corrections. Can be used for guessing the language of shorts texts where ngram or AI-based language identification isn't exact enough.
  • Field Details

    • langToRule

      private static final Map<Language,Rule> langToRule
    • langToDict

      private static final Map<Language,morfologik.stemming.Dictionary> langToDict
  • Constructor Details

    • VagueSpellChecker

      public VagueSpellChecker()
  • Method Details