João - 2023-06-02

Hi,

I'm new using PocketSphinx and I'm trying to make automations in my video editing workflow in Adobe Premiere Pro CC 2023 based on speech recognition. The script requires the Language Model, the Acoustic Model and the Dictionary.

I installed the PocketSphinx 5.0.1 and it's Models.

I downloaded and tried "sphinx4-5prealpha-src.zip", "br-pt.dic" and "cmusphinx-pt-br-5.2.tar.gz", as my target language is Portuguese. I also tried "cmusphinx-en-us-ptm-5.2" as an Acoustic Model. None of the combinations worked.

I'm using the ExtendScript Toolkit CC from Adobe Creative Cloud to make the script, which runs on JavaScript.

I can't find the reason why the script isn't running. It returns an error "PS is undefined".

Is it because of the JavaScript language, the Models I choose or did I probably do something wrong in the PocketSphinx installation?