public class ConllDependencyNode
extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
ConllDependencyNode()
Never called.
|
|
ConllDependencyNode(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
ConllDependencyNode(JCas jcas) |
|
ConllDependencyNode(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCpostag()
getter for cpostag - gets
|
java.lang.String |
getDeprel()
getter for deprel - gets
|
java.lang.String |
getFeats()
getter for feats - gets
|
java.lang.String |
getForm()
getter for form - gets
|
ConllDependencyNode |
getHead()
getter for head - gets
|
int |
getId()
getter for id - gets The token's position in the sentence.
|
java.lang.String |
getLemma()
getter for lemma - gets
|
java.lang.String |
getPdeprel()
getter for pdeprel - gets
|
ConllDependencyNode |
getPhead()
getter for phead - gets
|
java.lang.String |
getPostag()
getter for postag - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setCpostag(java.lang.String v)
setter for cpostag - sets
|
void |
setDeprel(java.lang.String v)
setter for deprel - sets
|
void |
setFeats(java.lang.String v)
setter for feats - sets
|
void |
setForm(java.lang.String v)
setter for form - sets
|
void |
setHead(ConllDependencyNode v)
setter for head - sets
|
void |
setId(int v)
setter for id - sets The token's position in the sentence.
|
void |
setLemma(java.lang.String v)
setter for lemma - sets
|
void |
setPdeprel(java.lang.String v)
setter for pdeprel - sets
|
void |
setPhead(ConllDependencyNode v)
setter for phead - sets
|
void |
setPostag(java.lang.String v)
setter for postag - sets
|
protected ConllDependencyNode()
public ConllDependencyNode(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic ConllDependencyNode(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic ConllDependencyNode(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()
private void readObject()
public int getId()
public void setId(int v)
v
- value to set into the featurepublic java.lang.String getForm()
public void setForm(java.lang.String v)
v
- value to set into the featurepublic java.lang.String getLemma()
public void setLemma(java.lang.String v)
v
- value to set into the featurepublic java.lang.String getCpostag()
public void setCpostag(java.lang.String v)
v
- value to set into the featurepublic java.lang.String getPostag()
public void setPostag(java.lang.String v)
v
- value to set into the featurepublic java.lang.String getFeats()
public void setFeats(java.lang.String v)
v
- value to set into the featurepublic ConllDependencyNode getHead()
public void setHead(ConllDependencyNode v)
v
- value to set into the featurepublic java.lang.String getDeprel()
public void setDeprel(java.lang.String v)
v
- value to set into the featurepublic ConllDependencyNode getPhead()
public void setPhead(ConllDependencyNode v)
v
- value to set into the featurepublic java.lang.String getPdeprel()
public void setPdeprel(java.lang.String v)
v
- value to set into the feature