|
MaltParser 1.4.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.maltparser.parser.history.kbest.Candidate
public class Candidate
A candidate in the k-best list.
| Field Summary | |
|---|---|
protected int |
actionCode
The integer representation of the predicted action |
| Constructor Summary | |
|---|---|
Candidate()
Constructs a candidate object |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
getActionCode()
Returns an integer representation of the predicted action |
int |
hashCode()
|
void |
reset()
Resets the candidate object |
void |
setActionCode(int actionCode)
Sets the integer representation of the predicted action |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int actionCode
| Constructor Detail |
|---|
public Candidate()
| Method Detail |
|---|
public int getActionCode()
public void setActionCode(int actionCode)
actionCode - an integer representation of the predicted actionpublic void reset()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
MaltParser 1.4.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||