org.apache.ctakes.typesystem.type.syntax
Class BaseToken_Type

java.lang.Object
  extended by org.apache.uima.jcas.cas.TOP_Type
      extended by org.apache.uima.jcas.cas.AnnotationBase_Type
          extended by org.apache.uima.jcas.tcas.Annotation_Type
              extended by 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 Tue Apr 09 12:44:03 EDT 2013


Field Summary
(package private)  org.apache.uima.cas.Feature casFeat_lemmaEntries
           
(package private)  org.apache.uima.cas.Feature casFeat_normalizedForm
           
(package private)  org.apache.uima.cas.Feature casFeat_partOfSpeech
           
(package private)  org.apache.uima.cas.Feature casFeat_tokenNumber
           
(package private)  int casFeatCode_lemmaEntries
           
(package private)  int casFeatCode_normalizedForm
           
(package private)  int casFeatCode_partOfSpeech
           
(package private)  int casFeatCode_tokenNumber
           
static boolean featOkTst
           
static int typeIndexID
           
 
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
 
Method Summary
protected  org.apache.uima.cas.impl.FSGenerator getFSGenerator()
           
 int getLemmaEntries(int addr)
           
 java.lang.String getNormalizedForm(int addr)
           
 java.lang.String getPartOfSpeech(int addr)
           
 int getTokenNumber(int addr)
           
 void setLemmaEntries(int addr, int v)
           
 void setNormalizedForm(int addr, java.lang.String v)
           
 void setPartOfSpeech(int addr, java.lang.String v)
           
 void setTokenNumber(int addr, int v)
           
 
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
 

Field Detail

typeIndexID

public static final int typeIndexID

featOkTst

public static final boolean featOkTst

casFeat_tokenNumber

final org.apache.uima.cas.Feature casFeat_tokenNumber

casFeatCode_tokenNumber

final int casFeatCode_tokenNumber

casFeat_normalizedForm

final org.apache.uima.cas.Feature casFeat_normalizedForm

casFeatCode_normalizedForm

final int casFeatCode_normalizedForm

casFeat_partOfSpeech

final org.apache.uima.cas.Feature casFeat_partOfSpeech

casFeatCode_partOfSpeech

final int casFeatCode_partOfSpeech

casFeat_lemmaEntries

final org.apache.uima.cas.Feature casFeat_lemmaEntries

casFeatCode_lemmaEntries

final int casFeatCode_lemmaEntries
Constructor Detail

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

Method Detail

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 java.lang.String getNormalizedForm(int addr)

setNormalizedForm

public void setNormalizedForm(int addr,
                              java.lang.String v)

getPartOfSpeech

public java.lang.String getPartOfSpeech(int addr)

setPartOfSpeech

public void setPartOfSpeech(int addr,
                            java.lang.String v)

getLemmaEntries

public int getLemmaEntries(int addr)

setLemmaEntries

public void setLemmaEntries(int addr,
                            int v)