|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsemeval.mapping.NBRoleset
public class NBRoleset
Represents a nombank roleset. Contains an Id, and optionally 'source' and 'vnclass'.
Constructor Summary | |
---|---|
NBRoleset(java.lang.String lemma,
java.lang.String id)
Default constructor that takes the value of the 'id' attribute as an argument. |
Method Summary | |
---|---|
java.lang.String |
getId()
Returns the value of the 'id' attribute, e. g. |
java.lang.String |
getLemma()
Returns the lemma this roleset belongs to. |
java.lang.String |
getName()
Returns the value of the 'name' attribute, e. g. |
java.lang.String |
getSource()
Returns the value of the 'source', e. g. |
java.lang.String |
getVnclass()
Returns the value of 'vnclass', e. g. '22.1-2'. |
void |
setId(java.lang.String id)
Sets the value of the 'id' attribute, e. g. |
void |
setLemma(java.lang.String lemma)
Sets the lemma this roleset belongs to (out of the 'lemma' attribute in the 'predicate' element). |
void |
setName(java.lang.String name)
Sets the value of the 'name' attribute, e. g. |
void |
setSource(java.lang.String source)
Sets the value of the 'source', e. g. |
void |
setVnclass(java.lang.String vnclass)
Sets the value of 'vnclass', e. g. '22.1-2'. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NBRoleset(java.lang.String lemma, java.lang.String id)
id
- Method Detail |
---|
public java.lang.String getId()
public java.lang.String getLemma()
public java.lang.String getName()
public java.lang.String getSource()
public java.lang.String getVnclass()
public void setId(java.lang.String id)
id
- the id to setpublic void setLemma(java.lang.String lemma)
lemma
- the lemma to setpublic void setName(java.lang.String name)
name
- the name to setpublic void setSource(java.lang.String source)
source
- the source to setpublic void setVnclass(java.lang.String vnclass)
vnclass
- the vnclass to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |