Method ToAutomaton
ToAutomaton(TokenStream)
Pulls the graph (including IPositionLengthAttribute from the provided TokenStream, and creates the corresponding automaton where arcs are bytes (or Unicode code points if unicodeArcs = true) from each term.
Declaration
public virtual Automaton ToAutomaton(TokenStream in)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | in |
Returns
Type | Description |
---|---|
Automaton |