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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final StringFields inherited from class org.languagetool.synthesis.BaseSynthesizer
SPELLNUMBER_TAG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringgetPosTagCorrection(String posTag) getWordForms(org.languagetool.AnalyzedToken token, String posTag, boolean isNegated, morfologik.stemming.IStemmer synthesizer) 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, lookupMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.languagetool.synthesis.Synthesizer
getSpelledNumber
-
Field Details
-
RESOURCE_FILENAME
- See Also:
-
TAGS_FILE_NAME
- See Also:
-
POTENTIAL_NEGATION_TAG
- See Also:
-
NEGATION_TAG
- See Also:
-
COMP_TAG
- See Also:
-
SUP_TAG
- See Also:
-
possibleTags
-
-
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:
synthesizein interfaceorg.languagetool.synthesis.Synthesizer- Overrides:
synthesizein classorg.languagetool.synthesis.BaseSynthesizer- Throws:
IOException
-
synthesize
public final String[] synthesize(org.languagetool.AnalyzedToken token, String pos, boolean posTagRegExp) throws IOException - Specified by:
synthesizein interfaceorg.languagetool.synthesis.Synthesizer- Overrides:
synthesizein classorg.languagetool.synthesis.BaseSynthesizer- Throws:
IOException
-
getPosTagCorrection
-
getWordForms
-