org.apache.ctakes.typesystem.type.syntax
Class Chunk_Type
java.lang.Object
org.apache.uima.jcas.cas.TOP_Type
org.apache.uima.jcas.cas.AnnotationBase_Type
org.apache.uima.jcas.tcas.Annotation_Type
org.apache.ctakes.typesystem.type.syntax.Chunk_Type
- Direct Known Subclasses:
- ADJP_Type, ADVP_Type, CONJP_Type, INTJ_Type, LST_Type, NP_Type, O_Type, PP_Type, PRT_Type, SBAR_Type, UCP_Type, VP_Type
public class Chunk_Type
- extends org.apache.uima.jcas.tcas.Annotation_Type
Chunks are syntactic groupings of tokens, and are the
results of a shallow parser (chunker). Possible chunkTypes follow
Penn Treebank guidelines, e.g., noun phrase (NP) or prepositional
phrase (PP)
Equivalent to cTAKES:
edu.mayo.bmi.uima.chunker.type.Chunk
Updated by JCasGen Thu Nov 28 10:34:46 CST 2013
Fields inherited from class org.apache.uima.jcas.cas.TOP_Type |
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance |
Constructor Summary |
Chunk_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features |
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 |
typeIndexID
public static final int typeIndexID
featOkTst
public static final boolean featOkTst
Chunk_Type
public Chunk_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
- initialize variables to correspond with Cas Type and Features
getFSGenerator
protected org.apache.uima.cas.impl.FSGenerator getFSGenerator()
- Overrides:
getFSGenerator
in class org.apache.uima.jcas.tcas.Annotation_Type
getChunkType
public String getChunkType(int addr)
setChunkType
public void setChunkType(int addr,
String v)
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.