| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmorfologik.fsa.MatchResult
public final class MatchResult
A matching result returned from FSATraversal.
FSATraversal| Field Summary | |
|---|---|
| static int | AUTOMATON_HAS_PREFIXThe automaton contains a prefix of the input sequence. | 
| static int | EXACT_MATCHThe automaton has exactly one match for the input sequence. | 
|  int | indexInput sequence's index, interpretation depends on kind. | 
|  int | kindOne of the match kind constants defined in this class. | 
| static int | NO_MATCHThe automaton has no match for the input sequence. | 
|  int | nodeAutomaton node, interpretation depends on the kind. | 
| static int | SEQUENCE_IS_A_PREFIXThe sequence is a prefix of at least one sequence in the automaton. | 
| Constructor Summary | |
|---|---|
| MatchResult() | |
| Method Summary | 
|---|
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int EXACT_MATCH
public static final int NO_MATCH
public static final int AUTOMATON_HAS_PREFIX
index will contain an index of the
 first character of the input sequence not present in the 
 dictionary.
public static final int SEQUENCE_IS_A_PREFIX
node returns the node from which all sequences
 with the given prefix start in the automaton.
public int kind
NO_MATCH, 
EXACT_MATCH, 
AUTOMATON_HAS_PREFIX, 
SEQUENCE_IS_A_PREFIXpublic int index
kind.
public int node
kind.
| Constructor Detail | 
|---|
public MatchResult()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||