juliusjs icon indicating copy to clipboard operation
juliusjs copied to clipboard

Other Acoustic Models

Open fmobrj opened this issue 8 years ago • 3 comments

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.

fmobrj avatar Oct 13 '16 12:10 fmobrj

@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.

frequent avatar Jan 21 '17 18:01 frequent

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

fmobrj avatar Dec 13 '18 15:12 fmobrj

@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.

khoantv avatar Jan 10 '20 06:01 khoantv