public enum HMMPosition extends java.lang.Enum<HMMPosition>
Enum Constant and Description |
---|
BEGIN |
END |
INTERNAL |
SINGLE |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
boolean |
isWordBeginning()
Determines if this position is word beginning position
|
boolean |
isWordEnd()
Determines if this position is an end word position
|
static HMMPosition |
lookup(java.lang.String rep)
Looks up an HMMPosition based upon its representation
|
java.lang.String |
toString()
Returns a string representation of this object
|
static HMMPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HMMPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HMMPosition BEGIN
public static final HMMPosition END
public static final HMMPosition SINGLE
public static final HMMPosition INTERNAL
public static final HMMPosition UNDEFINED
public static HMMPosition[] values()
for (HMMPosition c : HMMPosition.values()) System.out.println(c);
public static HMMPosition valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static HMMPosition lookup(java.lang.String rep)
rep
- the string representationpublic boolean isWordEnd()
public boolean isWordBeginning()
public java.lang.String toString()
toString
in class java.lang.Enum<HMMPosition>