|
MaltParser 1.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.maltparser.parser.algorithm.helper.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 name,
boolean labeled)
Creates a transition |
Method Summary | |
---|---|
int |
compareTo(Transition o)
|
boolean |
equals(Object o)
|
int |
getCode()
Returns the transition code |
String |
getName()
Returns the transition name |
boolean |
isLabeled()
Returns true if the transition is labeled, otherwise false |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Transition(int code, String name, boolean labeled)
code
- Transition codename
- Transition namelabeled
- true
if the transition is labeled, otherwise false
Method Detail |
---|
public int getCode()
public String getName()
public boolean isLabeled()
true
if the transition is labeled, otherwise false
public int compareTo(Transition o)
compareTo
in interface Comparable<Transition>
public boolean equals(Object o)
equals
in class Object
public String toString()
toString
in class Object
|
MaltParser 1.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |