Make Sphinx4 Recognize all the numbers using custom .gram file
问题 Description A speech recognizer calculator in Java Using Sphinx4 library exists. The full code on github: here The gram file i am using is the below(on github): #JSGF V1.0; /** * JSGF Grammar */ grammar grammar; public <syntax> = (one | two | three| four| five | six | seven | eight | nine | ten | eleven | twelve | thirteen | fourteen | fifteen | sixteen | seventeen | eighteen | nineteen | twenty) (plus | minus | multiply | division) (one | two | three| four| five | six | seven | eight | nine