|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGTerm
public class GTerm
Container class to hold information about GTerms, which are important expressions in GSentences.
GSentence
Field Summary | |
---|---|
java.lang.String |
id
|
java.lang.String |
lex
|
GSentence |
parent
|
java.lang.String |
sem
|
Constructor Summary | |
---|---|
GTerm(GSentence p)
To construct a term, it has to belong to a sentence. |
Method Summary | |
---|---|
void |
hello()
Echo this Term to stdout. |
void |
setID(java.lang.String s)
Set the identificator of this term |
void |
setlex(java.lang.String s)
Set the lexical representation of this term |
void |
setsem(java.lang.String s)
Set the semantic representation of this term |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String id
public java.lang.String lex
public java.lang.String sem
public GSentence parent
Constructor Detail |
---|
public GTerm(GSentence p)
p
- the parent sentenceMethod Detail |
---|
public void setID(java.lang.String s)
s
- identificator stringpublic void setlex(java.lang.String s)
s
- the lexical representationpublic void setsem(java.lang.String s)
s
- the semantic representationpublic void hello()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |