Jasper for international languages

1,224 views
Skip to first unread message

Shubhro Saha

unread,
Sep 5, 2014, 10:19:57 PM9/5/14
to jasper-sup...@googlegroups.com
If you'd like to communicate with Jasper in a non-English language, you'll have to modify the configuration of CMUSphinx, the underlying speech recognition engine. In short, you'll need to drop in an alternative language model, acoustic model, and dictionary. Getting started instructions can be found in their FAQ: http://cmusphinx.sourceforge.net/wiki/faq#qwhich_languages_are_supported

Jack Doe

unread,
Sep 9, 2014, 7:11:13 AM9/9/14
to jasper-sup...@googlegroups.com
Hi Shubhro,
Could you please write for foreign users the commands to install under the RPI terminal the foreign language model and give us an exemple with French or German language model. Thus, users might change only the language model file but will understand the commands to install other languages.
Thanks a lot

Shubhro Saha

unread,
Sep 10, 2014, 12:23:38 AM9/10/14
to jasper-sup...@googlegroups.com
Hi Jack: To be honest internationalization is a relatively unexplored area for us, so we're very new to this topic! Neither Charlie nor I are familiar with the international languages in CMUSphinx, so haven't been able to try it ourselves. At the moment, my understanding is that the models available from CMUSphinx site can be downloaded here:


Then, I suspect you should be able to replace the paths to the models in this file:


Sorry I can't be of more help, but I hope that provides some more guidance. If you're willing to explore this yourself we'd be happy to review a PR on the documentation that shares more details for everyone :)
Message has been deleted

Fnark

unread,
Dec 8, 2014, 10:38:38 AM12/8/14
to jasper-sup...@googlegroups.com
Hi guys,

judging from what I (dont) see on Google, it seems very much like so far nobody has got Jasper to work with a language other than English - please correct me if I'm wrong. Downloading language models and vocabulary and tweaking config files does not seem to be enough. Without better knowledge, it seems to me that CMUSphinx also needs to be trained in the new language first. That, or I am still missing something else.

So I am interested to know what it took the Jasper team to get Jasper understand and speak English in the first place? Did you train it?

Shubhro Saha

unread,
Dec 8, 2014, 10:29:47 PM12/8/14
to jasper-sup...@googlegroups.com
Hi Fnark-- We didn't really "train" CMUSphinx for English. We just provided a dictionary and language model that defined the limited vocabulary Jasper would need to understand. I believe the acoustic model can be downloaded from here: http://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/

Joel Touchet

unread,
Jan 6, 2015, 3:52:43 PM1/6/15
to jasper-sup...@googlegroups.com
Hi,
I try to make jasper in french language and I have problem.
I use another acoustic language for french ( http://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/) and i changed parameter in sst.py but with this file jasper understand anything. I suspect the g014b2b.fst which is combined (if I understood everything) to the english model hub4wsj_sc_8k.

Is that my analysis is correct?
Do you know how generate .fst for another language?

Thanks for all

Neb Ojsa

unread,
Jan 16, 2015, 11:18:32 AM1/16/15
to jasper-sup...@googlegroups.com
Hi Joel,

Je suis en train de me faire une version en Français aussi mais par contre j'utilise les apis google. Peut être pourrait on échanger du code :D
J'aimerai faire un module météo par exemple.



See ya

Guilhem

unread,
May 15, 2015, 3:19:46 AM5/15/15
to jasper-sup...@googlegroups.com
Hello Joel

Did you get any news about using French models ?

I also tried to change the acoustic model but as you mention, Jasper doesn't understand anything.

I changed the fst model, and tried french3g62K.lm.dmp available here : http://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/French%20Language%20Model/, I am not sure whether it is a valid fst file, but anyway it does not make any difference either.

Naoto Ida

unread,
May 15, 2015, 7:22:43 AM5/15/15
to jasper-sup...@googlegroups.com
This is a bit off-topic, but I was thinking we could start translating the documentation?
That way, it might be easier for people who want to set up Jasper in their language.

Julien De visscher

unread,
May 18, 2015, 12:34:09 PM5/18/15
to jasper-sup...@googlegroups.com
hello
your jasper work in french? how do you have make that please? i found nothing 
Reply all
Reply to author
Forward
0 new messages