Module tantivy_fst::automaton
source · Expand description
Automaton implementations for finite state transducers.
This module defines a trait, Automaton
, with several implementations
including, but not limited to, union, intersection and complement.
Structs
- An automaton that always matches.
- An automaton that matches exactly when the automaton it wraps does not.
- The
Automaton
state forComplement<A>
. - An automaton that matches when both of its component automata match.
- The
Automaton
state forIntersection<A, B>
. - An automaton that matches a string that begins with something that the wrapped automaton matches.
- The
Automaton
state forStartsWith<A>
. - An automaton that matches if the input contains a specific subsequence.
- An automaton that matches when one of its component automata match.
- The
Automaton
state forUnion<A, B>
.
Traits
- Automaton describes types that behave as a finite automaton.