|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmorfologik.fsa.characters.FSABuilder
public class FSABuilder
Automaton builder that uses chars to label transitions.
| Field Summary | |
|---|---|
static Comparator<CharSequence> |
LEXICOGRAPHIC_ORDER
Lexicographic order of input sequences. |
| Constructor Summary | |
|---|---|
FSABuilder()
|
|
| Method Summary | |
|---|---|
void |
add(CharSequence current)
Add another character sequence to this automaton. |
static State |
build(CharSequence[] input)
Build a minimal, deterministic automaton from a sorted list of strings. |
State |
complete()
Finalize the automaton and return the root state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Comparator<CharSequence> LEXICOGRAPHIC_ORDER
| Constructor Detail |
|---|
public FSABuilder()
| Method Detail |
|---|
public void add(CharSequence current)
public State complete()
public static State build(CharSequence[] input)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||