org.apache.ctakes.typesystem.type.textsem
Class SemanticArgument_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.textsem.SemanticArgument_Type

public class SemanticArgument_Type
extends org.apache.uima.jcas.tcas.Annotation_Type

SemanticArguments are used for predicate-argument structures (SemanticRoleRelations). The "label" features should contain the type of semantic role (e.g., ARG0, ARGM) that this argument has w.r.t. the predicate. Updated by JCasGen Thu Nov 28 10:34:47 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
SemanticArgument_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)
          initialize variables to correspond with Cas Type and Features
 
Method Summary
protected  org.apache.uima.cas.impl.FSGenerator getFSGenerator()
           
 String getLabel(int addr)
           
 int getRelation(int addr)
           
 void setLabel(int addr, String v)
           
 void setRelation(int addr, int v)
           
 
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

SemanticArgument_Type

public SemanticArgument_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 org.apache.uima.jcas.tcas.Annotation_Type

getRelation

public int getRelation(int addr)

setRelation

public void setRelation(int addr,
                        int v)

getLabel

public String getLabel(int addr)

setLabel

public void setLabel(int addr,
                     String v)


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