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

java.lang.Object
  extended by org.apache.uima.cas.impl.FeatureStructureImpl
      extended by org.apache.uima.jcas.cas.TOP
          extended by org.apache.uima.jcas.cas.AnnotationBase
              extended by org.apache.uima.jcas.tcas.Annotation
                  extended by org.apache.ctakes.typesystem.type.syntax.BaseToken
                      extended by org.apache.ctakes.typesystem.type.syntax.NumToken
All Implemented Interfaces:
Cloneable, org.apache.uima.cas.AnnotationBaseFS, org.apache.uima.cas.FeatureStructure, org.apache.uima.cas.text.AnnotationFS

public class NumToken
extends BaseToken

Differentiates a token as being a number rather than a punctuation, symbol, newline, word, or contraction. Equivalent to cTAKES: edu.mayo.bmi.uima.core.type.NumToken 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 NumToken()
          Never called.
  NumToken(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  NumToken(org.apache.uima.jcas.JCas jcas)
           
  NumToken(org.apache.uima.jcas.JCas jcas, int begin, int end)
           
 
Method Summary
 int getNumType()
          getter for numType - gets
 int getTypeIndexID()
           
 void setNumType(int v)
          setter for numType - sets
 
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

typeIndexID

public static final int typeIndexID

type

public static final int type
Constructor Detail

NumToken

protected NumToken()
Never called. Disable default constructor


NumToken

public NumToken(int addr,
                org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator


NumToken

public NumToken(org.apache.uima.jcas.JCas jcas)

NumToken

public NumToken(org.apache.uima.jcas.JCas jcas,
                int begin,
                int end)
Method Detail

getTypeIndexID

public int getTypeIndexID()
Overrides:
getTypeIndexID in class BaseToken

getNumType

public int getNumType()
getter for numType - gets


setNumType

public void setNumType(int v)
setter for numType - sets



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