public interface Token
Token interface is responsible for obtaining each component
of a token| Modifier and Type | Method and Description |
|---|---|
void |
addContext(Analyzers contractionFinder,
String value) |
Object |
getAdditionalContext(Analyzers analyzers) |
String |
getChunkTag() |
int |
getEnd() |
String |
getFeatures() |
String[] |
getLemmas() |
String |
getLexeme() |
String |
getPOSTag() |
double |
getPOSTagProb() |
int |
getStart() |
String |
getSyntacticTag() |
boolean |
isChunkHead() |
void |
isChunkHead(boolean ch) |
void |
setBoundaries(int start,
int end) |
void |
setChunkTag(String string) |
void |
setFeatures(String features) |
void |
setLemmas(String[] lemmas) |
void |
setLexeme(String lexeme) |
void |
setPOSTag(String tag) |
void |
setPOSTagProb(double d) |
void |
setSyntacticTag(String string) |
int getStart()
int getEnd()
String[] getLemmas()
String getLexeme()
String getPOSTag()
double getPOSTagProb()
String getFeatures()
String getChunkTag()
String getSyntacticTag()
boolean isChunkHead()
void isChunkHead(boolean ch)
void setFeatures(String features)
void setLemmas(String[] lemmas)
void setLexeme(String lexeme)
void setPOSTag(String tag)
void setBoundaries(int start,
int end)
void setChunkTag(String string)
void setSyntacticTag(String string)
void setPOSTagProb(double d)
Copyright © 2012–2017 CoGrOO. All rights reserved.