-->

Use multiple dictionaries for cmu sphinx

2019-09-16 08:16发布

问题:

For my project the default dictionary provided by the Sphinx is not sufficient. I need to use another custom dictionary along with the provided dictionary.

Now my question is that is there any way of specifying multiple dictionary files to Sphinx or do I need to combine both the dictionaries into a single big dictionary file? Thanks in advance :)

回答1:

You have to combine dictionaries into single one.



回答2:

If you want multiple dictionaries with Sphinx, what I did was to make my program delete the previous dictionary and write another one to the same file path with the different words you want to use. This can be done back and forth as many times as you like to give the impression of multiple dictionaries.