I am new to both java and sphinx4 Here i have downloaded sphinx and i am using eclipse editor so i added the jar files and my set up is ready Infact i also run the demo hello world example which was giving the output as expected .
But
Here in hello.gram we have given some input and only those words we could able to capture
#JSGF V1.0;
/**
* JSGF Grammar for Hello World example
*/
grammar hello;
public <greet> = (Good morning | Hello) ( Bhiksha | Evandro | Paul | Philip | Rita | Will );
what if i want to use other english words how do i need to do it
Any help would be highly appreciated.