Class ItalianRuleDisambiguator

java.lang.Object
org.languagetool.tagging.disambiguation.AbstractDisambiguator
org.languagetool.tagging.disambiguation.rules.it.ItalianRuleDisambiguator
All Implemented Interfaces:
Disambiguator

public class ItalianRuleDisambiguator extends AbstractDisambiguator
  • Field Details

  • Constructor Details

    • ItalianRuleDisambiguator

      public ItalianRuleDisambiguator()
  • Method Details

    • disambiguate

      public final AnalyzedSentence disambiguate(AnalyzedSentence input) throws IOException
      Description copied from interface: Disambiguator
      If possible, filters out the wrong POS tags.
      Parameters:
      input - The sentence with already tagged words. The words are expected to have multiple tags.
      Returns:
      Analyzed sentence, where each word has only one (possibly the most correct) tag.
      Throws:
      IOException