Now I'm in the process of making a dictionary application using voice. I have made this dictionary and there are about 100000 words as database. This dictionary needs to be searched by voice. For this, I use Sphinx4 / cmusphinx as a tool to be used. I've read references to related websites and successfully run the application samples. Then i implement same methodology in the this sample (HelloWorld) into my dictionary. Previously, I have already put 100000 words in the grammar (.gram). When I try to run it, my dictionary becomes frozen and after 5 minutes later, eclipse show "Java Heap Size Out of Memory"
configuration of grammar
#JSGF V1.0;
grammar hello;
public <database> = ([<Words>])*;
<Words>= 100000 words split by "|"
For sphinx4, i used this version http://sourceforge.net/projects/cmusphinx/files/sphinx4/1.0%20beta6/
Is my method to implement voice speech in my dictionary correct?
Is there any good references for building such search engine with a large database of words (approximately 100000 words)?
Hope you could help me.