Package org.languagetool.synthesis
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
FieldsFields inherited from class org.languagetool.synthesis.BaseSynthesizer
possibleTags, SPELLNUMBER_TAG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate @NotNull String[]
getCompoundForms
(org.languagetool.AnalyzedToken token, String posTag, boolean posTagRegExp) String[]
synthesize
(org.languagetool.AnalyzedToken token, String posTag) String[]
synthesize
(org.languagetool.AnalyzedToken token, String posTag, boolean posTagRegExp) Methods inherited from class org.languagetool.synthesis.BaseSynthesizer
createStemmer, getDictionary, getPosTagCorrection, getSpelledNumber, getStemmer, initPossibleTags, lookup
-
Field Details
-
splitter
-
-
Constructor Details
-
GermanSynthesizer
public GermanSynthesizer(org.languagetool.Language lang)
-
-
Method Details
-
synthesize
- Specified by:
synthesize
in interfaceorg.languagetool.synthesis.Synthesizer
- Overrides:
synthesize
in classorg.languagetool.synthesis.BaseSynthesizer
- Throws:
IOException
-
synthesize
public String[] synthesize(org.languagetool.AnalyzedToken token, String posTag, boolean posTagRegExp) throws IOException - Specified by:
synthesize
in interfaceorg.languagetool.synthesis.Synthesizer
- Overrides:
synthesize
in classorg.languagetool.synthesis.BaseSynthesizer
- Throws:
IOException
-
getCompoundForms
@NotNull private @NotNull String[] getCompoundForms(org.languagetool.AnalyzedToken token, String posTag, boolean posTagRegExp) throws IOException - Throws:
IOException
-