public class DictionaryToken extends Object
Constructor and Description |
---|
DictionaryToken(org.apache.uima.cas.text.AnnotationFS annotation,
org.apache.uima.cas.Feature tokenTypeFeature,
org.apache.uima.cas.Feature tokenClassFeature) |
Modifier and Type | Method and Description |
---|---|
String |
getText() |
String |
getTokenClass() |
Integer |
getType() |
boolean |
isTokenClassFeatureDefined() |
boolean |
isTokenTypeFeatureDefined() |
void |
setText(String text) |
void |
setTokenClass(String tokenClass) |
void |
setTokenClassFeatureDefined(boolean tokenClassFeatureDefined) |
void |
setTokenTypeFeatureDefined(boolean tokenTypeFeatureDefined) |
void |
setType(Integer type) |
public DictionaryToken(org.apache.uima.cas.text.AnnotationFS annotation, org.apache.uima.cas.Feature tokenTypeFeature, org.apache.uima.cas.Feature tokenClassFeature)
public String getText()
public void setText(String text)
public String getTokenClass()
public void setTokenClass(String tokenClass)
public Integer getType()
public void setType(Integer type)
public boolean isTokenTypeFeatureDefined()
public void setTokenTypeFeatureDefined(boolean tokenTypeFeatureDefined)
public boolean isTokenClassFeatureDefined()
public void setTokenClassFeatureDefined(boolean tokenClassFeatureDefined)
Copyright © 2006–2024 The Apache Software Foundation. All rights reserved.