public interface AdornedWord
An AdornedWord
represents a single word spelling,
symbol, or punctuation mark in text.
An adorned word records the following information.
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.