Package org.languagetool.synthesis.pl
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 String
private static final String
private static final String
private static final String
private static final String
private static final String
Fields inherited from class org.languagetool.synthesis.BaseSynthesizer
SPELLNUMBER_TAG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal String
getPosTagCorrection
(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, lookup
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
synthesize
in interfaceorg.languagetool.synthesis.Synthesizer
- Overrides:
synthesize
in classorg.languagetool.synthesis.BaseSynthesizer
- Throws:
IOException
-
synthesize
public final String[] synthesize(org.languagetool.AnalyzedToken token, String pos, boolean posTagRegExp) throws IOException - Specified by:
synthesize
in interfaceorg.languagetool.synthesis.Synthesizer
- Overrides:
synthesize
in classorg.languagetool.synthesis.BaseSynthesizer
- Throws:
IOException
-
getPosTagCorrection
- Specified by:
getPosTagCorrection
in interfaceorg.languagetool.synthesis.Synthesizer
- Overrides:
getPosTagCorrection
in classorg.languagetool.synthesis.BaseSynthesizer
-
getWordForms
-