org.languagetool.synthesis.ca
Class CatalanSynthesizer

java.lang.Object
  extended by org.languagetool.synthesis.BaseSynthesizer
      extended by 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

Field Summary
 
Fields inherited from class org.languagetool.synthesis.BaseSynthesizer
possibleTags, synthesizer
 
Constructor Summary
CatalanSynthesizer()
           
 
Method Summary
 String[] synthesize(AnalyzedToken token, String posTag)
           
 
Methods inherited from class org.languagetool.synthesis.BaseSynthesizer
getPosTagCorrection, initPossibleTags, initSynthesizer, lookup, synthesize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalanSynthesizer

public CatalanSynthesizer()
Method Detail

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.