sveinbjornt / hear

Command line speech recognition and transcription for macOS
https://sveinbjorn.org/hear
BSD 3-Clause "New" or "Revised" License
404 stars 25 forks source link

Flag -d #28

Open Sergey-Galan opened 11 months ago

Sergey-Galan commented 11 months ago

Hi, thanks for the work. I understand correctly? Will it work with the flag -d only the language package that is in ‘Siri’ and is loaded? I got a job only with the flag -d ‘ru-RU’ and ‘en -US’, but I need ‘uk-UA’. ‘Siri’ does not speak Ukrainian and so I can’t get a translation with a flag -d. I conducted an experiment, installed ‘Siri’ French, the language package loaded and I had an ‘fr -Fr’ Local with a flag -d.

sveinbjornt commented 11 months ago

I'm not sure I understand what you mean. You can view supported locales using the -l flag. In some cases, you will need to wait while your OS downloads the files required for the specified locale before you can start speech recognition for it.

Sergey-Galan commented 11 months ago

Yes, there is support for 'uk-UA', but only without the -d flag. And has a limit of approximately 100 words. With the -d flag (2023-12-17 15:39:33.697 hear[19913:128391] Required assets are not available for Locale:uk-UA Error: On-device recognition is not supported for locale 'uk-UA’). After experimenting, I came to the conclusion that only those locales that Siri has work with the -d flag.