deal with multiple grammars in t2s
deal with multiple grammars in t2s