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

java.lang.Object
  extended by org.apache.uima.cas.impl.FeatureStructureImpl
      extended by org.apache.uima.jcas.cas.TOP
          extended by org.apache.ctakes.typesystem.type.syntax.Lemma
All Implemented Interfaces:
java.lang.Cloneable, org.apache.uima.cas.FeatureStructure

public class Lemma
extends org.apache.uima.jcas.cas.TOP

Stores a lemma (canonical form of a token). Inherits from uima.cas.TOP, allowing for reuse of standardized forms across the CAS. Equivalent to cTAKES: edu.mayo.bmi.uima.core.type.Lemma Updated by JCasGen Tue Apr 09 11:44:39 EDT 2013 XML source:apache-ctakes-3-0-0/ctakes-pad-term-spotter/src/main/resources/org/apache/ctakes/padtermspotter/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 Lemma()
          Never called.
  Lemma(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  Lemma(org.apache.uima.jcas.JCas jcas)
           
 
Method Summary
 java.lang.String getKey()
          getter for key - gets
 java.lang.String getPosTag()
          getter for posTag - gets
 int getTypeIndexID()
           
 void setKey(java.lang.String v)
          setter for key - sets
 void setPosTag(java.lang.String v)
          setter for posTag - sets
 
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
 

Field Detail

typeIndexID

public static final int typeIndexID

type

public static final int type
Constructor Detail

Lemma

protected Lemma()
Never called. Disable default constructor


Lemma

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


Lemma

public Lemma(org.apache.uima.jcas.JCas jcas)
Method Detail

getTypeIndexID

public int getTypeIndexID()
Overrides:
getTypeIndexID in class org.apache.uima.jcas.cas.TOP

getKey

public java.lang.String getKey()
getter for key - gets


setKey

public void setKey(java.lang.String v)
setter for key - sets


getPosTag

public java.lang.String getPosTag()
getter for posTag - gets


setPosTag

public void setPosTag(java.lang.String v)
setter for posTag - sets