org.languagetool.synthesis.ca
Class CatalanSynthesizer
java.lang.Object
org.languagetool.synthesis.BaseSynthesizer
org.languagetool.synthesis.ca.CatalanSynthesizer
- All Implemented Interfaces:
- Synthesizer
public class CatalanSynthesizer
- extends BaseSynthesizer
Catalan word form synthesizer.
There are special additions:
"DT" tag adds "el, la, l', els, les" according to the gender
and the number of the word and the Catalan rules for apostrophation (l').
"DTa" adds "al, a la, a l', als, a les"
"DTde" adds "del, de la, de l', dels, de les"
"DTper" adds "pel, per la, per l', pels, per les"
"DTca" adds "cal, ca la, ca l', cals, ca les"
- Author:
- Jaume OrtolĂ i Font
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CatalanSynthesizer
public CatalanSynthesizer()
synthesize
public String[] synthesize(AnalyzedToken token,
String posTag)
throws IOException
- Specified by:
synthesize in interface Synthesizer- Overrides:
synthesize in class BaseSynthesizer
- Throws:
IOException
Copyright © 2013. All Rights Reserved.