Pulls the graph (including PositionLengthAttribute) from the provided TokenStream, and creates the corresponding
automaton where arcs are bytes (or Unicode code points
if unicodeArcs = true) from each term.