I'm working on a project where a user can say a word and my program will navigate to the first instance of it in an open file.
There are sometimes some words in the file that aren't in Sphinx's dictionary though. I'm hoping that I can scan through the file on startup and for each word, ask Sphinx if it knows of that word. If not, I'll ask the user to pronounce it, and then somehow add the word and the pronunciation into Sphinx.
I know PocketSphinx has a ps_add_word function which can do something like this, but I don't see anything similar for Sphinx.
Also, is there a way to train an existing word at runtime? Let's say that whenever I say "capital" Sphinx thinks I'm saying "cattle". Is there a way to train Sphinx to recognize "capital" better at runtime? I imagine it will be similar to adding a new word.
I'm excited at the possibility to move off of Dragon to Sphinx, so any help will be greatly appreciated. Thanks!