org.apache.uima.examples.tokenizer
Class Sentence
java.lang.Object
org.apache.uima.cas.impl.FeatureStructureImpl
org.apache.uima.jcas.cas.TOP
org.apache.uima.jcas.cas.AnnotationBase
org.apache.uima.jcas.tcas.Annotation
org.apache.uima.examples.tokenizer.Sentence
- All Implemented Interfaces:
- java.lang.Cloneable, AnnotationBaseFS, FeatureStructure, AnnotationFS
public class Sentence
- extends Annotation
Method Summary |
int |
getTypeIndexID()
used to obtain reference to the TOP_Type instance |
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.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 |
typeIndexID
public static final int typeIndexID
type
public static final int type
Sentence
protected Sentence()
Sentence
public Sentence(int addr,
TOP_Type type)
- Internal - Constructor used by generator
Sentence
public Sentence(JCas jcas)
Sentence
public Sentence(JCas jcas,
int start,
int end)
getTypeIndexID
public int getTypeIndexID()
- Description copied from class:
TOP
- used to obtain reference to the TOP_Type instance
- Overrides:
getTypeIndexID
in class Annotation
- Returns:
- the type array index
Copyright © 2013. All Rights Reserved.