public static RePairGrammar buildGrammar ( String inputString ) { RePairGrammar grammar = NewRepair . parse ( inputString ) ; return grammar ; }
Builds a grammar given a string of terminals delimeted by space .