This file script is to generate grammar for CMU Sphinx program
License: GNU General Public License V2
Author: Lukáš Kerpl
add item to grammar
[Source]
# File generate_gram.rb, line 13 def add(x,i) a = x.scan(/[a-zA-Z ]+/) if a != "" buf = " #{a} |" end buf += ' ' if i == 0 return buf end
[Validate]