edu.northwestern.at.utils.corpuslinguistics.adornedword
Interface AdornedWord

All Known Implementing Classes:
AdornedWordCountInfo, BaseAdornedWord, ExtendedAdornedWord

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

getToken

java.lang.String getToken()
Get the original token.

Returns:
The original token.

setToken

void setToken(java.lang.String token)
Set the original token.

Parameters:
token - The original token.

getSpelling

java.lang.String getSpelling()
Get the spelling.

Returns:
The spelling.

setSpelling

void setSpelling(java.lang.String spelling)
Set the spelling.

Parameters:
spelling - The spelling.

getStandardSpelling

java.lang.String getStandardSpelling()
Get the standard spelling.

Returns:
The standard spelling.

setStandardSpelling

void setStandardSpelling(java.lang.String standardSpelling)
Set the standard spelling.

Parameters:
standardSpelling - The standard spelling.

getLemmata

java.lang.String getLemmata()
Get the lemmata.

Returns:
The lemmata.

Compound lemmata are separated by a separator tring.


setLemmata

void setLemmata(java.lang.String lemmata)
Set the lemmata.

Parameters:
lemmata - The lemmata.

getPartsOfSpeech

java.lang.String getPartsOfSpeech()
Get the parts of speech.

Returns:
The parts of speech.

setPartsOfSpeech

void setPartsOfSpeech(java.lang.String partsOfSpeech)
Set the parts of speech.

Parameters:
partsOfSpeech - The parts of speech, separated by a tag set dependent separator string.

getTokenType

int getTokenType()
Get the token type.

Returns:
The token type.

setTokenType

void setTokenType(int tokenType)
Set the token type.

Parameters:
tokenType - The token type.