public interface Synthesizer
| Modifier and Type | Method and Description |
|---|---|
String |
getPosTagCorrection(String posTag)
Gets a corrected version of the POS tag used for synthesis.
|
String[] |
synthesize(AnalyzedToken token,
String posTag)
Generates a form of the word with a given POS tag for a given lemma.
|
String[] |
synthesize(AnalyzedToken token,
String posTag,
boolean posTagRegExp)
Generates a form of the word with a given POS tag for a given lemma.
|
String[] synthesize(AnalyzedToken token, String posTag) throws IOException
token - the token to be used for synthesisposTag - POS tag of the form to be generated.IOExceptionString[] synthesize(AnalyzedToken token, String posTag, boolean posTagRegExp) throws IOException
token - the token to be used for synthesisposTag - POS tag of the form to be generated.posTagRegExp - Specifies whether the posTag string is a
regular expression.IOExceptionString getPosTagCorrection(String posTag)
posTag - Original POS tag.
to correct.Copyright © 2005-2011 Daniel Naber