|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IToken
A token that is a constituent of an sentence. They may represent single runs of non-whitespace characters (not containing whitespace) or punctuation. Tokens may or may not be tagged, and may or may not already have stems assigned.
Method Summary | |
---|---|
List<String> |
getStems()
Returns an unmodifiable list of stems, all in lowercase. |
String |
getTag()
Returns the part of speech tag for this token, or null if
the token is not tagged. |
Methods inherited from interface edu.mit.jmwe.data.IHasForm |
---|
getForm |
Method Detail |
---|
String getTag()
null
if
the token is not tagged. If the part of speech is null
, no
part of speech has yet been assigned.
null
if
the token is not tagged.List<String> getStems()
null
, this means no
stemming has yet been attempted.
null
, possibly empty list of lowercase
stems
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |