|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Role
Role contains information on the syntactic and semantic role of a word or group of words.
| Constructor Summary | |
Role(java.lang.String newSyntax,
java.lang.String newSelectional,
java.lang.String newInterpretation)
Create a role from strings. |
|
| Method Summary | |
void |
addSemantics(java.lang.String newSelectional,
java.lang.String newInterpretation)
Add semantics to this role. |
boolean |
inCat(java.lang.String cat)
Check if this role is in some syntactic category. |
java.lang.String |
interpretation()
Get the interpretation of this role. |
java.lang.String |
selectionalType()
Get the selectional type of this role. |
java.lang.String |
syntax()
Get the syntax of this role. |
java.lang.String |
toString()
Represent this role as a string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Role(java.lang.String newSyntax,
java.lang.String newSelectional,
java.lang.String newInterpretation)
newSyntax - the syntax.newSelectional - the selectional type.newInterpretation - the interpretation.| Method Detail |
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String syntax()
public java.lang.String selectionalType()
public java.lang.String interpretation()
public void addSemantics(java.lang.String newSelectional,
java.lang.String newInterpretation)
newSelectional - the new selectional type.newInterpretation - the new interpretation.public boolean inCat(java.lang.String cat)
cat - the category.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||