Class GalicianHybridDisambiguator

java.lang.Object
org.languagetool.tagging.disambiguation.AbstractDisambiguator
org.languagetool.tagging.disambiguation.gl.GalicianHybridDisambiguator
All Implemented Interfaces:
Disambiguator

public class GalicianHybridDisambiguator extends AbstractDisambiguator
Hybrid chunker-disambiguator for Portuguese
  • Field Details

  • Constructor Details

    • GalicianHybridDisambiguator

      public GalicianHybridDisambiguator()
  • Method Details

    • disambiguate

      public final AnalyzedSentence disambiguate(AnalyzedSentence input) throws IOException
      Calls two disambiguator classes: (1) a chunker; (2) a rule-based disambiguator.
      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