public class Markable
extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Markable()
Never called.
|
|
Markable(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Markable(JCas jcas) |
|
Markable(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
double |
getAnaphoric_prob()
getter for anaphoric_prob - gets
|
Annotation |
getContent()
getter for content - gets The markable instance, i.e., a Named Entity, pronoun Token, etc.
|
int |
getId()
getter for id - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setAnaphoric_prob(double v)
setter for anaphoric_prob - sets
|
void |
setContent(Annotation v)
setter for content - sets The markable instance, i.e., a Named Entity, pronoun Token, etc.
|
void |
setId(int v)
setter for id - sets
|
protected Markable()
public Markable(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Markable(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic Markable(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 Annotation getContent()
public void setContent(Annotation v)
v
- value to set into the featurepublic int getId()
public void setId(int v)
v
- value to set into the featurepublic double getAnaphoric_prob()
public void setAnaphoric_prob(double v)
v
- value to set into the feature