Class GermanSynthesizer

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

public class GermanSynthesizer extends org.languagetool.synthesis.BaseSynthesizer
German word form synthesizer. Also supports compounds.
Since:
2.4
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class org.languagetool.synthesis.BaseSynthesizer

    possibleTags, SPELLNUMBER_TAG
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    private @NotNull String[]
    getCompoundForms(org.languagetool.AnalyzedToken token, String posTag, boolean posTagRegExp)
     
    synthesize(org.languagetool.AnalyzedToken token, String posTag)
     
    synthesize(org.languagetool.AnalyzedToken token, String posTag, boolean posTagRegExp)
     

    Methods inherited from class org.languagetool.synthesis.BaseSynthesizer

    createStemmer, getDictionary, getPosTagCorrection, getSpelledNumber, getStemmer, initPossibleTags, lookup

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • GermanSynthesizer

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

    • synthesize

      public 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 String[] synthesize(org.languagetool.AnalyzedToken token, String posTag, boolean posTagRegExp) throws IOException
      Specified by:
      synthesize in interface org.languagetool.synthesis.Synthesizer
      Overrides:
      synthesize in class org.languagetool.synthesis.BaseSynthesizer
      Throws:
      IOException
    • getCompoundForms

      @NotNull private @NotNull String[] getCompoundForms(org.languagetool.AnalyzedToken token, String posTag, boolean posTagRegExp) throws IOException
      Throws:
      IOException