public class SemanticArgument extends Argument
| Modifier and Type | Field and Description |
|---|---|
static int |
type |
static int |
typeIndexID |
| Modifier | Constructor and Description |
|---|---|
protected |
SemanticArgument()
Never called.
|
|
SemanticArgument(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
SemanticArgument(JCas jcas) |
|
SemanticArgument(JCas jcas,
int begin,
int end) |
| Modifier and Type | Method and Description |
|---|---|
FSArray |
getCoreferenceAnnotations()
getter for coreferenceAnnotations - gets
|
Annotation |
getCoreferenceAnnotations(int i)
indexed getter for coreferenceAnnotations - gets an indexed value -
|
String |
getFeature()
getter for feature - gets
|
String |
getHyphenTag()
getter for hyphenTag - gets
|
String |
getLabel()
getter for label - gets
|
String |
getPreposition()
getter for preposition - gets
|
String |
getPropTxt()
getter for propTxt - gets
|
int |
getTypeIndexID() |
void |
setCoreferenceAnnotations(FSArray v)
setter for coreferenceAnnotations - sets
|
void |
setCoreferenceAnnotations(int i,
Annotation v)
indexed setter for coreferenceAnnotations - sets an indexed value -
|
void |
setFeature(String v)
setter for feature - sets
|
void |
setHyphenTag(String v)
setter for hyphenTag - sets
|
void |
setLabel(String v)
setter for label - sets
|
void |
setPreposition(String v)
setter for preposition - sets
|
void |
setPropTxt(String v)
setter for propTxt - sets
|
getAnnotation, setAnnotationgetScore, setScoregetBegin, getCoveredText, getEnd, getStart, setBegin, setEndgetSofa, getViewaddToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexesclone, 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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetViewclone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValuepublic static final int type
public static final int typeIndexID
protected SemanticArgument()
public SemanticArgument(int addr, TOP_Type type)
addr - low level Feature Structure referencetype - the type of this Feature Structurepublic SemanticArgument(JCas jcas)
jcas - JCas to which this Feature Structure belongspublic SemanticArgument(JCas jcas, int begin, int end)
jcas - JCas to which this Feature Structure belongsbegin - offset to the begin spot in the SofAend - offset to the end spot in the SofApublic FSArray getCoreferenceAnnotations()
public Annotation getCoreferenceAnnotations(int i)
i - index in the array to getpublic String getFeature()
public String getHyphenTag()
public String getPreposition()
public String getPropTxt()
public int getTypeIndexID()
getTypeIndexID in class Argumentpublic void setCoreferenceAnnotations(FSArray v)
v - value to set into the featurepublic void setCoreferenceAnnotations(int i, Annotation v)
i - index in the array to setv - value to set into the arraypublic void setFeature(String v)
v - value to set into the featurepublic void setHyphenTag(String v)
v - value to set into the featurepublic void setLabel(String v)
v - value to set into the featurepublic void setPreposition(String v)
v - value to set into the featurepublic void setPropTxt(String v)
v - value to set into the featureCopyright © 2014. All rights reserved.