|
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.transition.Transition
public class Transition
Transition contains one individual transition. For example, Nivre arc-eager algorithms have the unlabeled
transition SH, RE and the labeled transitionRA, LA. These
transition will be four individual transition.
| Constructor Summary | |
|---|---|
Transition(int code,
String symbol,
boolean labeled)
Creates a transition |
|
| Method Summary | |
|---|---|
int |
compareTo(Transition that)
|
boolean |
equals(Object obj)
|
int |
getCode()
Returns the transition code |
String |
getSymbol()
Returns the transition symbol |
int |
hashCode()
|
boolean |
isLabeled()
Returns true if the transition is labeled, otherwise false |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Transition(int code,
String symbol,
boolean labeled)
code - Transition codesymbol - Transition namelabeled - true if the transition is labeled, otherwise false| Method Detail |
|---|
public int getCode()
public String getSymbol()
public boolean isLabeled()
true if the transition is labeled, otherwise falsepublic int compareTo(Transition that)
compareTo in interface Comparable<Transition>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode 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 | |||||||||