org.apache.ctakes.typesystem.type.syntax
Class BaseToken_Type
java.lang.Object
org.apache.uima.jcas.cas.TOP_Type
org.apache.uima.jcas.cas.AnnotationBase_Type
org.apache.uima.jcas.tcas.Annotation_Type
org.apache.ctakes.typesystem.type.syntax.BaseToken_Type
- Direct Known Subclasses:
- ContractionToken_Type, NewlineToken_Type, NumToken_Type, PunctuationToken_Type, SymbolToken_Type, WordToken_Type
public class BaseToken_Type
- extends org.apache.uima.jcas.tcas.Annotation_Type
A supertype for tokens subsuming word, punctuation,
symbol, newline, contraction, or number. Includes parts of speech,
which are grammatical categories, e.g., noun (NN) or preposition
(IN) that use Penn Treebank tags with a few additions.
Equivalent to
cTAKES: edu.mayo.bmi.uima.core.type.BaseToken
Updated by JCasGen Thu Nov 28 10:34:46 CST 2013
Fields inherited from class org.apache.uima.jcas.cas.TOP_Type |
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance |
Constructor Summary |
BaseToken_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features |
Methods inherited from class org.apache.uima.jcas.tcas.Annotation_Type |
getBegin, getCoveredText, getEnd, setBegin, setEnd |
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase_Type |
getSofa, getView |
Methods inherited from class org.apache.uima.jcas.cas.TOP_Type |
addToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
typeIndexID
public static final int typeIndexID
featOkTst
public static final boolean featOkTst
BaseToken_Type
public BaseToken_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
- initialize variables to correspond with Cas Type and Features
getFSGenerator
protected org.apache.uima.cas.impl.FSGenerator getFSGenerator()
- Overrides:
getFSGenerator
in class org.apache.uima.jcas.tcas.Annotation_Type
getTokenNumber
public int getTokenNumber(int addr)
setTokenNumber
public void setTokenNumber(int addr,
int v)
getNormalizedForm
public String getNormalizedForm(int addr)
setNormalizedForm
public void setNormalizedForm(int addr,
String v)
getPartOfSpeech
public String getPartOfSpeech(int addr)
setPartOfSpeech
public void setPartOfSpeech(int addr,
String v)
getLemmaEntries
public int getLemmaEntries(int addr)
setLemmaEntries
public void setLemmaEntries(int addr,
int v)
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.