|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<FSAMatchType>
morfologik.fsa.FSAMatchType
public enum FSAMatchType
Type of the match returned as part of FSAMatch.
| Enum Constant Summary | |
|---|---|
EXACT_MATCH
The input sequence ends exactly on the final node. |
|
NO_MATCH
No match for the input sequence of symbols found in the automaton. |
|
PREFIX_FOUND
The sequence ends on an intermediate automaton node. |
|
PREMATURE_PATH_END_FOUND
A terminating node occurs in the dictionary before the end of the input sequence. |
|
PREMATURE_WORD_END_FOUND
The input sequence ends on an intermediate automaton node. |
|
| Method Summary | |
|---|---|
static FSAMatchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FSAMatchType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final FSAMatchType NO_MATCH
public static final FSAMatchType EXACT_MATCH
public static final FSAMatchType PREMATURE_PATH_END_FOUND
FSAMatch will contain an index of the
first character not present in the dictionary.
public static final FSAMatchType PREFIX_FOUND
FSAMatch object will contain an index of
the first character in the input sequence not present in the dictionary
and a pointer to the FSA's node where mismatch
occurred.
public static final FSAMatchType PREMATURE_WORD_END_FOUND
PREFIX_FOUND. A node where the mismatch (missing
input sequence's characters) occurred is returned in the FSAMatch
.
| Method Detail |
|---|
public static FSAMatchType[] values()
for (FSAMatchType c : FSAMatchType.values()) System.out.println(c);
public static FSAMatchType 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 null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||