|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.stanbol.commons.opennlp.TextAnalyzer.AnalysedText.Token
public class TextAnalyzer.AnalysedText.Token
| Field Summary | |
|---|---|
protected boolean |
hasAlphaNumeric
|
protected double[] |
posProbabilities
|
protected java.lang.String[] |
posTags
|
protected opennlp.tools.util.Span |
span
|
protected java.lang.String |
token
|
| Method Summary | |
|---|---|
int |
getEnd()
|
double[] |
getPosProbabilities()
Getter for the probabilities of all POS tags |
double |
getPosProbability()
Getter for the probability of the top ranked POS tag |
java.lang.String |
getPosTag()
Getter for the best ranked POS tag for this token |
java.lang.String[] |
getPosTags()
Getter for all the POS tags of this Token. |
int |
getStart()
|
java.lang.String |
getText()
Getter for the value of this token |
boolean |
hasAplhaNumericChar()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final opennlp.tools.util.Span span
protected java.lang.String token
protected final java.lang.String[] posTags
protected final double[] posProbabilities
protected final boolean hasAlphaNumeric
| Method Detail |
|---|
public int getStart()
public int getEnd()
public java.lang.String getPosTag()
public java.lang.String[] getPosTags()
public double getPosProbability()
public double[] getPosProbabilities()
POS tags
getPosTags()public java.lang.String getText()
public boolean hasAplhaNumericChar()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||