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

Other Acoustic Models #26

Open
fmobrj opened this issue Oct 13, 2016 · 3 comments
Open

Other Acoustic Models #26

fmobrj opened this issue Oct 13, 2016 · 3 comments

Comments

@fmobrj
Copy link

fmobrj commented Oct 13, 2016

Hi,

I use custom acoustic (.am.bin) and language (.lm.bin) models in Portuguese for Julius. How can I change the voxforge default acoustic and language models in juliusjs so that I can use my own portuguese grammar? What is the role of the file recognizer.data in julius.js?

Best regards,
Fabio.

@frequent
Copy link

@fmobrj if still relevant: you can build your acoustic model and grammar following the steps outlined in this tutorial. This will give you hmmdefs, tiedlist and you can generate sample.dfa and sample.dict, which you can already pass into juliusjs. The other two file paths are hardcoded in https://github.com/zzmp/juliusjs/blob/master/dist/worker.js#L86, so you can either hardcode your own paths there, or rewrite worker.js to pass in the other two paths, too.

@fmobrj
Copy link
Author

fmobrj commented Dec 13, 2018

Thank you, very much. Sorry for the delay, have been gone for a while!

@khoantv
Copy link

khoantv commented Jan 10, 2020

@fmobrj if still relevant: you can build your acoustic model and grammar following the steps outlined in this tutorial. This will give you hmmdefs, tiedlist and you can generate sample.dfa and sample.dict, which you can already pass into juliusjs. The other two file paths are hardcoded in https://github.com/zzmp/juliusjs/blob/master/dist/worker.js#L86, so you can either hardcode your own paths there, or rewrite worker.js to pass in the other two paths, too.

Could you show me how to use model of Julius Japanese Dictation-kit (https://github.com/julius-speech/dictation-kit). It uses bccwj.60k.bingram, bccwj.60k.htkdic instead of .dfa and .dic model.
Can i convert them into .dfa and .dic model?
Thanks a bunch.

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