public class CleartkTokenOps extends Object implements TokenOps<org.cleartk.token.type.Token>
Token| Constructor and Description |
|---|
CleartkTokenOps() |
| Modifier and Type | Method and Description |
|---|---|
org.cleartk.token.type.Token |
createToken(org.apache.uima.jcas.JCas jCas,
int begin,
int end) |
String |
getLemma(org.apache.uima.jcas.JCas jCas,
org.cleartk.token.type.Token token) |
String |
getPos(org.apache.uima.jcas.JCas jCas,
org.cleartk.token.type.Token token) |
List<org.cleartk.token.type.Token> |
selectTokens(org.apache.uima.jcas.JCas jCas,
org.apache.uima.jcas.tcas.Annotation coveringAnnotation) |
void |
setLemma(org.apache.uima.jcas.JCas jCas,
org.cleartk.token.type.Token token,
String lemma) |
void |
setPos(org.apache.uima.jcas.JCas jCas,
org.cleartk.token.type.Token token,
String posTag) |
public org.cleartk.token.type.Token createToken(org.apache.uima.jcas.JCas jCas,
int begin,
int end)
createToken in interface TokenOps<org.cleartk.token.type.Token>public List<org.cleartk.token.type.Token> selectTokens(org.apache.uima.jcas.JCas jCas, org.apache.uima.jcas.tcas.Annotation coveringAnnotation)
selectTokens in interface TokenOps<org.cleartk.token.type.Token>public String getPos(org.apache.uima.jcas.JCas jCas, org.cleartk.token.type.Token token)
public void setPos(org.apache.uima.jcas.JCas jCas,
org.cleartk.token.type.Token token,
String posTag)
public String getLemma(org.apache.uima.jcas.JCas jCas, org.cleartk.token.type.Token token)
Copyright © 2013. All Rights Reserved.