Package org.languagetool.synthesis.ca
Class CatalanSynthesizer
java.lang.Object
org.languagetool.synthesis.BaseSynthesizer
org.languagetool.synthesis.ca.CatalanSynthesizer
- All Implemented Interfaces:
Synthesizer
Catalan word form synthesizer.
- Author:
- Jaume OrtolĂ i Font
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CatalanSynthesizerstatic final CatalanSynthesizerstatic final CatalanSynthesizerFields inherited from class org.languagetool.synthesis.BaseSynthesizer
language, possibleTags, SPELLNUMBER_FEMININE_TAG, SPELLNUMBER_ROMAN_TAG, SPELLNUMBER_TAG -
Method Summary
Modifier and TypeMethodDescriptiongetTargetPosTag(List<String> posTags, String targetPosTag) String[]synthesize(AnalyzedToken token, String posTag) String[]synthesize(AnalyzedToken token, String posTag, boolean posTagRegExp) Methods inherited from class org.languagetool.synthesis.BaseSynthesizer
createStemmer, getDictionary, getPosTagCorrection, getRomanNumber, getSpelledNumber, getStemmer, initPossibleTags, isException, lookup, removeExceptions, synthesizeForPosTags
-
Field Details
-
LemmasToIgnore
-
INSTANCE_CAT
-
INSTANCE_VAL
-
INSTANCE_BAL
-
-
Method Details
-
synthesize
- Specified by:
synthesizein interfaceSynthesizer- Overrides:
synthesizein classBaseSynthesizer- Throws:
IOException
-
synthesize
public String[] synthesize(AnalyzedToken token, String posTag, boolean posTagRegExp) throws IOException - Specified by:
synthesizein interfaceSynthesizer- Overrides:
synthesizein classBaseSynthesizer- Throws:
IOException
-
getTargetPosTag
- Specified by:
getTargetPosTagin interfaceSynthesizer- Overrides:
getTargetPosTagin classBaseSynthesizer
-
getPossibleTags
- Throws:
IOException
-