|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.cas.impl.FeatureStructureImpl
org.apache.uima.jcas.cas.TOP
org.apache.uima.jcas.cas.AnnotationBase
org.apache.uima.jcas.tcas.Annotation
org.apache.ctakes.typesystem.type.syntax.BaseToken
org.apache.ctakes.typesystem.type.syntax.WordToken
public class WordToken
Differentiates a token as being a word rather than a punctuation, symbol, newline, contraction, or number. Equivalent to cTAKES: edu.mayo.bmi.uima.core.type.WordToken Updated by JCasGen Wed Nov 27 20:11:48 CST 2013 XML source: C:/build-Apache-cTAKES/ctakes-3.1.1/rc2/checkout/ctakes/target/checkout/ctakes-type-system/src/main/resources/org/apache/ctakes/typesystem/types/TypeSystem.xml
Field Summary | |
---|---|
static int |
type
|
static int |
typeIndexID
|
Fields inherited from class org.apache.uima.jcas.cas.TOP |
---|
addr, jcasType |
Constructor Summary | |
---|---|
protected |
WordToken()
Never called. |
|
WordToken(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator |
|
WordToken(org.apache.uima.jcas.JCas jcas)
|
|
WordToken(org.apache.uima.jcas.JCas jcas,
int begin,
int end)
|
Method Summary | |
---|---|
String |
getCanonicalForm()
getter for canonicalForm - gets |
int |
getCapitalization()
getter for capitalization - gets Whether all caps, initial capitalized, mixed case, or all lower case. |
int |
getNumPosition()
getter for numPosition - gets The position of a number inside a Token. |
String |
getSuggestion()
getter for suggestion - gets Currently unused - planned to hold a spelling suggestion. |
int |
getTypeIndexID()
|
void |
setCanonicalForm(String v)
setter for canonicalForm - sets |
void |
setCapitalization(int v)
setter for capitalization - sets Whether all caps, initial capitalized, mixed case, or all lower case. |
void |
setNumPosition(int v)
setter for numPosition - sets The position of a number inside a Token. |
void |
setSuggestion(String v)
setter for suggestion - sets Currently unused - planned to hold a spelling suggestion. |
Methods inherited from class org.apache.ctakes.typesystem.type.syntax.BaseToken |
---|
getLemmaEntries, getNormalizedForm, getPartOfSpeech, getTokenNumber, setLemmaEntries, setNormalizedForm, setPartOfSpeech, setTokenNumber |
Methods inherited from class org.apache.uima.jcas.tcas.Annotation |
---|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd |
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase |
---|
getSofa, getView |
Methods inherited from class org.apache.uima.jcas.cas.TOP |
---|
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes |
Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl |
---|
clone, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.uima.cas.AnnotationBaseFS |
---|
getView |
Methods inherited from interface org.apache.uima.cas.FeatureStructure |
---|
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue |
Field Detail |
---|
public static final int typeIndexID
public static final int type
Constructor Detail |
---|
protected WordToken()
public WordToken(int addr, org.apache.uima.jcas.cas.TOP_Type type)
public WordToken(org.apache.uima.jcas.JCas jcas)
public WordToken(org.apache.uima.jcas.JCas jcas, int begin, int end)
Method Detail |
---|
public int getTypeIndexID()
getTypeIndexID
in class BaseToken
public int getCapitalization()
public void setCapitalization(int v)
public int getNumPosition()
public void setNumPosition(int v)
public String getSuggestion()
public void setSuggestion(String v)
public String getCanonicalForm()
public void setCanonicalForm(String v)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |