VoxForge
Hi,
I tried to use the german acoustic model using the latest versions of Sphinx 4 and the acoustic models available here:
https://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/German/Everything was fine with the english default model, so I just replaced the line
configuration.setAcousticModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us");
After running the program an error ocurred:
Exception in thread "main" java.lang.NullPointerExceptionDo you know how to get rid of it?
Thanks
Well, I created my dictionary and language model using "Sphinx Knowledge Base Tool".
I tried to the dictionaries from model download page. No errors occured but the accurancy was very bad, worser than the english model. May the problem lays in my bad microphone? The program recognizes something that wasn't spoken. Can I use my own dictionary and language model? I just need a few commands.
My code is
while ((result = recognize.getResult()) != null) {You can provide the data to reproduce your issues to get help with the accuracy. With a langauge model or grammar it should be accurate. You should not use Knowledge base tool, it works for US English only.