|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.uzh.ifi.attempto.chartparser.CPConcreteOption
public class CPConcreteOption
This class represents a concrete option for the chart parser. Such a concrete option consists of a word in the form of a terminal category standing for a possible next token, and optionally of a pre-terminal category from which the terminal category was derived.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
Preterminal |
getCategory()
Returns the pre-terminal category of this concrete option, or null if no pre-terminal category was involved. |
java.lang.String |
getCategoryName()
Returns the name of the category of this concrete option, or null if there is no such category. |
java.lang.String |
getWord()
Returns the word of this concrete option. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getWord()
ConcreteOption
getWord
in interface ConcreteOption
public Preterminal getCategory()
public java.lang.String getCategoryName()
ConcreteOption
getCategoryName
in interface ConcreteOption
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |