Class PolishSynthesizer

java.lang.Object
org.languagetool.synthesis.BaseSynthesizer
org.languagetool.synthesis.pl.PolishSynthesizer
All Implemented Interfaces:
org.languagetool.synthesis.Synthesizer

public class PolishSynthesizer extends org.languagetool.synthesis.BaseSynthesizer implements org.languagetool.synthesis.Synthesizer
Polish word form synthesizer. Based on project Morfologik.
Author:
Marcin Milkowski
  • Field Summary

    Fields inherited from class org.languagetool.synthesis.BaseSynthesizer

    SPELLNUMBER_TAG
  • Constructor Summary

    Constructors
    Constructor
    Description
    PolishSynthesizer(org.languagetool.Language lang)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final String
     
    final String[]
    synthesize(org.languagetool.AnalyzedToken token, String posTag)
     
    final String[]
    synthesize(org.languagetool.AnalyzedToken token, String pos, boolean posTagRegExp)
     

    Methods inherited from class org.languagetool.synthesis.BaseSynthesizer

    createStemmer, getDictionary, getSpelledNumber, getStemmer, initPossibleTags, lookup

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.languagetool.synthesis.Synthesizer

    getSpelledNumber
  • Constructor Details

    • PolishSynthesizer

      public PolishSynthesizer(org.languagetool.Language lang)
  • Method Details

    • synthesize

      public final String[] synthesize(org.languagetool.AnalyzedToken token, String posTag) throws IOException
      Specified by:
      synthesize in interface org.languagetool.synthesis.Synthesizer
      Overrides:
      synthesize in class org.languagetool.synthesis.BaseSynthesizer
      Throws:
      IOException
    • synthesize

      public final String[] synthesize(org.languagetool.AnalyzedToken token, String pos, boolean posTagRegExp) throws IOException
      Specified by:
      synthesize in interface org.languagetool.synthesis.Synthesizer
      Overrides:
      synthesize in class org.languagetool.synthesis.BaseSynthesizer
      Throws:
      IOException
    • getPosTagCorrection

      public final String getPosTagCorrection(String posTag)
      Specified by:
      getPosTagCorrection in interface org.languagetool.synthesis.Synthesizer
      Overrides:
      getPosTagCorrection in class org.languagetool.synthesis.BaseSynthesizer