-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Phoneme labels and timestamps - take two #1377
base: master
Are you sure you want to change the base?
Conversation
… to disable MBR to generate phone outputs
…to output phone results
…_options for better consistency
Really nice. But it doesn't seem to work when you use alternatives ? It would be really cool if it was the case :) |
Hello! I am trying to make a version of test_microphone.py that recognizes phonemes rather than words/sentences. However, I am struggling to figure out what the python equivalent would be to |
it looks like the method would be SetResultOptions(self, options), so no need to pass in an instance of the recognizer since that seems to be a private class variable not a parameter in the Python API. |
Thanks for getting back to me! I have tried pretty much every variation on the above that I can think of, and am not sure if the issue is due to me being new to Python or if there's something else happening here. If this is helpful to know, I am running the program in CMD with the following command: EDIT: Before realizing that regular Vosk would not provide individual phonemes, I installed it via pypi - is it possible this is contributing to the difficulties? |
Hello, I'm currently trying to build your version of Vosk, but I keep getting the same error as in #1082 :
I'm using the AlphaCephei branch of Kaldi (with OpenFST 1.7.2, tried also 1.8.3 from Kaldi-ASR with the same result). Any idea what's going on? |
WordAlignLatticePartial is there. Probably you are using some old version. Please recheck. |
OK, I did it. I redownloaded the Dockerfile and ran it on my machine instead of building everything locally (normally I'd just build Kaldi and OpenFST using Docker, then copy them to local and build Vosk from there). Now everything compiles just fine! |
The first PR seems to have died. rutujaubale Made the original effort to add the feature. Nathravorn fixed the build in their branch. I am now making a new PR to get this feature merged in.
this PR replaces #528
and closes #687 with a solution