Skip to content
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

How can I add a new language? #42

Closed
Nata0801 opened this issue Apr 29, 2022 · 3 comments
Closed

How can I add a new language? #42

Nata0801 opened this issue Apr 29, 2022 · 3 comments

Comments

@Nata0801
Copy link

I have downloaded a Ukrainian model and changed archive type to tar.gz, but I couldn't load it in the browser. I have looked into other archives but noticed they have a file of unknown type corresponding to each folder in archive. Is there a way to add a new language?
Thank you.

@ccoreilly
Copy link
Owner

You can use any vosk model, you just need to set the path correctly when calling createModel. The model files should be in a gzipped tar archive. Can you share what error you get in the console?

@bbergeron0
Copy link

You don't have to convert your archive to tar.gz, Vosk's zip archives works fine.

@ccoreilly
Copy link
Owner

That is true, thank you for correcting me @3NdR1m

@Nata0801 please reopen with specific errors from the console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants