org.apache.ctakes.typesystem.type.syntax
Class WordToken_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
                  extended by org.apache.ctakes.typesystem.type.syntax.WordToken_Type

public class WordToken_Type
extends BaseToken_Type

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


Field Summary
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
WordToken_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)
          initialize variables to correspond with Cas Type and Features
 
Method Summary
 String getCanonicalForm(int addr)
           
 int getCapitalization(int addr)
           
protected  org.apache.uima.cas.impl.FSGenerator getFSGenerator()
           
 int getNumPosition(int addr)
           
 String getSuggestion(int addr)
           
 void setCanonicalForm(int addr, String v)
           
 void setCapitalization(int addr, int v)
           
 void setNumPosition(int addr, int v)
           
 void setSuggestion(int addr, String v)
           
 
Methods inherited from class org.apache.ctakes.typesystem.type.syntax.BaseToken_Type
getLemmaEntries, getNormalizedForm, getPartOfSpeech, getTokenNumber, setLemmaEntries, setNormalizedForm, setPartOfSpeech, setTokenNumber
 
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
Constructor Detail

WordToken_Type

public WordToken_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 BaseToken_Type

getCapitalization

public int getCapitalization(int addr)

setCapitalization

public void setCapitalization(int addr,
                              int v)

getNumPosition

public int getNumPosition(int addr)

setNumPosition

public void setNumPosition(int addr,
                           int v)

getSuggestion

public String getSuggestion(int addr)

setSuggestion

public void setSuggestion(int addr,
                          String v)

getCanonicalForm

public String getCanonicalForm(int addr)

setCanonicalForm

public void setCanonicalForm(int addr,
                             String v)


Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.