cmusphinx / pocketsphinx

A small speech recognizer
Other
3.9k stars 714 forks source link

Python alignment API needs documentation/tutorials #309

Open Errorbot1122 opened 1 year ago

Errorbot1122 commented 1 year ago

I'm pretty new to python as a language (not to programming, in general, though). It would be really helpful if anyone could find a good tutorial online (or even make one) for the alignment command. Funnily enough, I am using it in my project already, but just in the SpeechRecognition library which has TONS of tutorials online.

Thanks a TON!

P.S: If you wanted to know, I did look at the docs, but it did not really help out that much, and google does not have much ether

dhdaines commented 1 year ago

Hi! Working on this, unfortunately the documentation is limited beyond just the basic API... I would be interested to know your use case as that would help in guiding what tutorials to write first!

Errorbot1122 commented 1 year ago

In this instance, I need to align already generated speech using a text file, like a Forced Aliner.

This would be helpful for the Python API. (for some reason I can't install the CLI)

P.S: Is there any alternative way to use the pocketsphinx CLI? (like python3 -m pocketsphinx ...)

dhdaines commented 1 year ago

Hm, the CLI ought to work, what is your system configuration and how are you attempting to use it? I would like to ensure that it works for everybody!

I took a little break after making the release but I will publish a Docker image for the CLI which should make things easier as well.

dhdaines commented 1 year ago

Also if you could, please create a separate issue for your problems with the CLI

Errorbot1122 commented 1 year ago

okay here: #311