|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AdornedWord
Interface for a word adorned with addition morphological information.
An AdornedWord
represents a single word spelling,
symbol, or punctuation mark in text.
An adorned word records the following information.
| Method Summary | |
|---|---|
java.lang.String |
getLemmata()
Get the lemmata. |
java.lang.String |
getPartsOfSpeech()
Get the parts of speech. |
java.lang.String |
getSpelling()
Get the spelling. |
java.lang.String |
getStandardSpelling()
Get the standard spelling. |
java.lang.String |
getToken()
Get the original token. |
int |
getTokenType()
Get the token type. |
void |
setLemmata(java.lang.String lemmata)
Set the lemmata. |
void |
setPartsOfSpeech(java.lang.String partsOfSpeech)
Set the parts of speech. |
void |
setSpelling(java.lang.String spelling)
Set the spelling. |
void |
setStandardSpelling(java.lang.String standardSpelling)
Set the standard spelling. |
void |
setToken(java.lang.String token)
Set the original token. |
void |
setTokenType(int tokenType)
Set the token type. |
| Method Detail |
|---|
java.lang.String getToken()
void setToken(java.lang.String token)
token - The original token.java.lang.String getSpelling()
void setSpelling(java.lang.String spelling)
spelling - The spelling.java.lang.String getStandardSpelling()
void setStandardSpelling(java.lang.String standardSpelling)
standardSpelling - The standard spelling.java.lang.String getLemmata()
Compound lemmata are separated by a separator tring.
void setLemmata(java.lang.String lemmata)
lemmata - The lemmata.java.lang.String getPartsOfSpeech()
void setPartsOfSpeech(java.lang.String partsOfSpeech)
partsOfSpeech - The parts of speech, separated by
a tag set dependent separator
string.int getTokenType()
void setTokenType(int tokenType)
tokenType - The token type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||