|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Synthesizer
Part-of-speech synthesiser interface. Implementations are heavily language-dependent.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
String[] synthesize(AnalyzedToken token,
String posTag)
throws IOException
token - the token to be used for synthesisposTag - POS tag of the form to be generated.
IOException
String[] 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||