public static FSA build ( byte [ ] [ ] input ) { final FSABuilder builder = new FSABuilder ( ) ; for ( byte [ ] chs : input ) { builder . add ( chs , 0 , chs . length ) ; } return builder . complete ( ) ; }
Build a minimal deterministic automaton from a sorted list of byte sequences .