public class Dependency
extends org.apache.uima.jcas.tcas.Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Dependency()
Never called.
|
|
Dependency(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
Dependency(org.apache.uima.jcas.JCas jcas) |
|
Dependency(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
String |
getDependencyType()
getter for DependencyType - gets The dependency type
|
Token |
getDependent()
getter for Dependent - gets The dependent word
|
String |
getFlavor()
getter for flavor - gets Flavor of the dependency relation (basic, collapsed, enhanced, etc...)
|
Token |
getGovernor()
getter for Governor - gets The governor word
|
int |
getTypeIndexID() |
void |
setDependencyType(String v)
setter for DependencyType - sets The dependency type
|
void |
setDependent(Token v)
setter for Dependent - sets The dependent word
|
void |
setFlavor(String v)
setter for flavor - sets Flavor of the dependency relation (basic, collapsed, enhanced, etc...)
|
void |
setGovernor(Token v)
setter for Governor - sets The governor word
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
clone, getavoidcollisionTypeCode, 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
finalize, getClass, notify, notifyAll, wait, wait, wait
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
protected Dependency()
public Dependency(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Dependency(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic Dependency(org.apache.uima.jcas.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 int getTypeIndexID()
getTypeIndexID
in class org.apache.uima.jcas.tcas.Annotation
public Token getGovernor()
public void setGovernor(Token v)
v
- value to set into the featurepublic Token getDependent()
public void setDependent(Token v)
v
- value to set into the featurepublic String getDependencyType()
public void setDependencyType(String v)
v
- value to set into the featurepublic String getFlavor()
public void setFlavor(String v)
v
- value to set into the featureCopyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.