Export to GitHub

voximp - issue #5

Launching voximp reports 'glib.GError: no element "vader"'


Posted on May 5, 2010 by Helpful Elephant

What steps will reproduce the problem? 1. Download voximp. 2. Extract the files. 3. Copy the file voximpconf.py.sample as voximpconf.py 4. Launch voximp -c 5. Load the corpus on the website, download the files and extract inside $HOME/.config/voximp/ 6. Adjust the number in voximpconf.py 7. Run ./voximp.py

What is the expected output? What do you see instead? I don't know what the expected output is. I see File "./voximp.py", line 191, in <module> app = Voximp() File "./voximp.py", line 50, in init self.init_gst() File "./voximp.py", line 57, in init_gst + '! pocketsphinx name=asr ! fakesink') glib.GError: no element "vader"

What version of the product are you using? On what operating system?

I'm using Ubuntu Lucid. A one liner that pulls all the necessary dependencies would be most appreciated.

Comment #1

Posted on May 5, 2010 by Helpful Elephant

By the way, these people say they got it to work. Might be useful to link both threads. http://bbs.archlinux.org/viewtopic.php?pid=444297

Comment #2

Posted on May 5, 2010 by Helpful Hippo

I Typed "gstreamer" on synaptic :). Installed lots of stuff for testing, I canĀ“t tell what is the exact package, but that worked for me.

Comment #3

Posted on May 6, 2010 by Helpful Elephant

Comment deleted

Comment #4

Posted on May 6, 2010 by Helpful Elephant

Thanks, that was a great hint. I had to install gstreamer0.10-pocketsphinx. Now, it's working.

Comment #5

Posted on Nov 4, 2010 by Grumpy Elephant

Hey, I had never worked with Python. Could you help me with the 4th step in your description.... Launch voximp -c ???? What this means? how I can launch voximp ???

thanks in advance. Esteban Cali, Colombia.

Comment #6

Posted on Nov 4, 2010 by Helpful Elephant

Open a terminal, use "cd" to go to the directory that contains the file voximp.py, type ./voximp.py -c, then press enter.

Comment #7

Posted on Nov 4, 2010 by Grumpy Elephant

OK, THANKS ....VOXIMP ITS WORKING NOW!!! :D

Comment #8

Posted on Nov 6, 2010 by Grumpy Elephant

Hello again, Im now trying to control other apps with my own language model, dict and hmm for spanish. I already changed the number (~.config/voximp/)for those files and the direction of my hmm data in voximp.py (/usr/share/pocketsphinx/model/es/H4), I got an error that say my "dict" words are being ommited for being a "bad ciphone", additionaly I saw that when executing voximp.py the file are calling the "standard" english models on pocket (/usr/share/pocketsphinx/model/hmm/wsj1/). Obviously there are not taken into account my files!!!

I also want to know how to select the parameter features = feat s3_1x39 instead of default vomimp feat s2_4x.

Pocketsphinx alone it working very good with my custom lm, dict and hmm.

I will continue working to find the fault!! Any suggestions or comments!? Thanks in advance, Esteban.

Comment #9

Posted on Nov 18, 2010 by Grumpy Elephant

Hey, I am still asking to myself why my config parameters in voximp.py are not taken into account in the executing pocketsphinx?

config = { 'hmm': '/usr/share/pocketsphinx/model/es/H4', 'lm': '/home/esteban/.config/voximp/2690.lm', 'dict': '/home/esteban/.config/voximp/2690.dic' }

And when I execute the file in my terminal pocketsphinx show me: -hmm /usr/share/pocketsphinx/model/hmm/wsj1 \ -lm /usr/share/pocketsphinx/model/lm/wsj/wlist5o.3e-7.vp.tg.lm.DMP \ -dict /usr/share/pocketsphinx/model/lm/wsj/wlist5o.dic \

I really dont know what to do anymore, I have been searching for few days, but nothing results.

PLEASE, HELP!

Comment #10

Posted on Nov 19, 2010 by Helpful Elephant

I'm out of clues here, but I'm not sure this problem you have is related to the one I reported. If it isn't, it might be wiser to open a new issue with your question.

Comment #11

Posted on Jan 13, 2011 by Helpful Camel

Just install gstreamer0.10-pocketsphinx

Not a problem. Not an issue. Just lack of documentation.

Comment #12

Posted on Jan 13, 2011 by Grumpy Elephant

Hey everybody, The real issue was that I was generating my spanish language model in the wrong way. I wasnt following the the suggestiongs on the voximp.c -c for new vocabularies.

Totally my fault.

Everything works very good now. Im happy! Thanks, Esteban.

Comment #13

Posted on Apr 20, 2011 by Happy Cat

Hi estebano.

I have the same problem that you say. I compile a acoustic model but when i execute voximp i see -hmm /usr/share/pocketsphinx/model/hmm/wsj1 \ -lm /usr/share/pocketsphinx/model/lm/wsj/wlist5o.3e-7.vp.tg.lm.DMP \ -dict /usr/share/pocketsphinx/model/lm/wsj/wlist5o.dic \

you find the solution?

This is very important to me because this is a part of my master proyect of engineery and i can't solve.

Thanks in advance

Status: New

Labels:
Type-Defect Priority-Medium