|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<HMMPosition>
edu.cmu.sphinx.linguist.acoustic.HMMPosition
public enum HMMPosition
Defines possible positions of HMMs. Note that even though the positions are defined to be within words, some recognizers may classify positions in terms of other elements besides words.
| Enum Constant Summary | |
|---|---|
BEGIN
|
|
END
|
|
INTERNAL
|
|
SINGLE
|
|
UNDEFINED
|
|
| Method Summary | |
|---|---|
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 baed 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. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
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 name
java.lang.NullPointerException - if the argument is nullpublic static HMMPosition lookup(java.lang.String rep)
rep - the string representation
public boolean isWordEnd()
public boolean isWordBeginning()
public java.lang.String toString()
toString in class java.lang.Enum<HMMPosition>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||