Class PolishHybridDisambiguator

  • All Implemented Interfaces:
    org.languagetool.tagging.disambiguation.Disambiguator

    public class PolishHybridDisambiguator
    extends org.languagetool.tagging.disambiguation.AbstractDisambiguator
    Hybrid chunker-disambiguator for Polish.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.languagetool.tagging.disambiguation.Disambiguator chunker  
      private org.languagetool.tagging.disambiguation.Disambiguator disambiguator  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.languagetool.AnalyzedSentence disambiguate​(org.languagetool.AnalyzedSentence input)
      Calls two disambiguator classes: (1) a chunker; (2) a rule-based disambiguator.
      • Methods inherited from class org.languagetool.tagging.disambiguation.AbstractDisambiguator

        preDisambiguate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • chunker

        private final org.languagetool.tagging.disambiguation.Disambiguator chunker
      • disambiguator

        private final org.languagetool.tagging.disambiguation.Disambiguator disambiguator
    • Constructor Detail

      • PolishHybridDisambiguator

        public PolishHybridDisambiguator()
    • Method Detail

      • disambiguate

        public final org.languagetool.AnalyzedSentence disambiguate​(org.languagetool.AnalyzedSentence input)
                                                             throws java.io.IOException
        Calls two disambiguator classes: (1) a chunker; (2) a rule-based disambiguator.
        Throws:
        java.io.IOException