You probably misunderstood the concept of grammar, you have to check our tutorial for details. You can have a big dictionary and a small grammar if you want context.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi guys, I'm using sphinx 4.5, I would like to know if it is possible to
change the ".dic" dictionary file in real time.
Currently, I use this way:
configuration.setDictionaryPath(path+"file.dic");
How do I load this file into real time?
Att
It is not possible. Use a big dictionary, it does not affect anything.
Nickolay V. Shmyrev, when we have a list of likely words, or words from a context, it works out better with fewer words.
You probably misunderstood the concept of grammar, you have to check our tutorial for details. You can have a big dictionary and a small grammar if you want context.
I can set a new grammar in real time?