I read a lot of how-to's on how to get pocketsphinx functional on Ubuntu 10.04 but I always got stuck at some point.
These are the two failures I could never get around:
1. Failed to open audio device(/dev/dsp): No such file or directory
:207:218) = -2837676
These are the two failures I could never get around:
1. Failed to open audio device(/dev/dsp): No such file or directory
2. ERROR: "acmod.c", line 88: Must specify -mdef or -hmm
After a lot of trying different things out, here are the steps that allowed me to get a raw file transcribed.
aptitude install python-pocketsphinx
aptitude install pocketsphinx-hmm-wsj1
aptitude install pocketsphinx-lm-wsj
aptitude install pocketsphinx-hmm-wsj1
aptitude install pocketsphinx-lm-wsj
The ps_test.py file will be located in /usr/share/doc/python-pocketsphinx/examples
Change the first line to
decoder = ps.Decoder(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",
fwdtree="yes",
fwdflat="yes",
bestpath="no")
lm="/usr/share/pocketsphinx/model/lm/wsj/wlist5o.3e-7.vp.tg.lm.DMP",
dict="/usr/share/pocketsphinx/model/lm/wsj/wlist5o.dic",
fwdtree="yes",
fwdflat="yes",
bestpath="no")
Change line 2 to:
fh = open("test.raw", "rb")
And generate a test.raw file and put it in /usr/share/doc/python-pocketsphinx/examples
Running python ps_test.py will still generate an error but you should get a first transcription:
Decoded 35136 samples
THE DEMAND JUMPED OVER THE MILAN (000000000 -40091455)
P(FORWARD|GO) = -4.346504, 2
INFO: ngram_search.c(1046): lattice start node .0 end node .207
INFO: ps_lattice.c(1225): Normalizer P(O) = alpha(
INFO: ps_lattice.c(1263): Joint P(O,S) = -2853722 P(S|O) = -16046
P(S|O) = -1.604786e+00
FORWARD is:
Traceback (most recent call last):
File "ps_test.py", line 30, in
print "FORWARD is:", forward.word, forward.sf, forward.fef, forward.lef, forward.prob
NameError: name 'forward' is not defined
My raw file had the phrase 'The man jumped over the moon'
It was transcribed to 'THE DEMAND JUMPED OVER THE MILAN'
Changing hmm to hub4opensrc.cd_continuous_8gau, lm to language_model.arpaformat.DMP and adding the word MOON to the dictionary got me to the following transcription: 'THE MEN JUMPED OVER THE MOON'
Not bad, IMHO
Changing hmm to hub4opensrc.cd_continuous_8gau, lm to language_model.arpaformat.DMP and adding the word MOON to the dictionary got me to the following transcription: 'THE MEN JUMPED OVER THE MOON'
Not bad, IMHO
50 comments:
[url=http://vtyupdr.com]SlRONh[/url] - hGdeZSk , http://iluubcb.com
buy tramadol online tramadol hcl bluelight - buy tramadol in usa no prescription
buy tramadol online cheap tramadol cod delivery - tramadol 50mg usa
buy cheap tramadol tramadol for sale no prescription usa - buy cheap tramadol online
buy tramadol online buy tramadol online without rx - buy-cheap-tramadol.org
xanax online xanax overdose - drug interactions concerta xanax
buy tramadol online tramadol generic cost - order tramadol online next day
cialis online generic cialis brands - cialis 30 day trial
xanax online xanax effects - generic brand for xanax
cialis price buy cialis through paypal - long does daily cialis take work
http://landvoicelearning.com/#51602 tramadol hcl 650 - tramadol hcl para que serve
http://buytramadolonlinecool.com/#28875 buy tramadol overnight no prescription - tramadol dosage canine
buy tramadol online buy tramadol online next day delivery - tramadol withdrawal symptoms how long
buy tramadol tramadol no prescription overnight cod delivery - overnight tramadol no prescription uss
buy tramadol online without a prescription buy cheap tramadol online cod - buy tramadol online pay cod
buy ativan online can take 1mg lorazepam - what is lorazepam 1mg tablets for
ways to buy ativan online overcome ativan addiction - ativan zyprexa interaction
And so i created a secondary blog off my first one, but I now want my secondary blog to be my personal or my main blog.
Design soon and I to remain the newer blog I made will be my default blog.
If that makes any sense... Is there a way to do this?.
my site transvaginal mesh compensation
buy tramadol online no prescription cod buy tramadol cod overnight - tramadol zydus 50 mg
buy tramadol online what is tramadol ultram used for - tramadol 10mg high
http://ranchodelastortugas.com/#61301 xanax withdrawal 1mg per day - xanax saliva drug test
Versaute Teenies ab 18 live hinter der privaten livecam.
Willst du dich mit ihnen treffen? Melde dich jetzt umsonnst an und du erhälst gleich 50 Coins für die live cams gratis!
Erlebe tabulose [b][url=http://free-teen.org]Teen Tubes[/url][/b]. Gerade erst 18 und schon so neugierig.
[url=http://tv.lm.konin.pl/forum/posting.php?mode=newtopic&f=23]Teen Tube[/url]
[url=http://goalvor.net/en/forum/4-alvor-talk/159#160]Teen Livecam[/url]
[url=http://barragemma.com/forums/memberlist.php?mode=viewprofile&u=15774]Free Teen[/url]
[url=http://royalty-online.nl/entry/993/koninklijke-juwelen/]Teens ab 18[/url]
[url=http://agentlane.ca/forums/member4388.html]Free Teen[/url]
[url=http://lambo.bio-networks.net/memberlist.php?mode=viewprofile&u=537]FreeTeen[/url]
http://www.nanomedbg.com/forum/memberlist.php?mode=viewprofile&u=33567 http://ekdum.com/member.php?u=362781 http://forum.blacklinesoft.com/memberlist.php?mode=viewprofile&u=24144 teen[/url]
http://bayshorechryslerjeep.com/#7724 xanax questions - generic xanax vs. name brand
This page definitely has all the info I wanted concerning this subject and didn't know who to ask.
Feel free to surf to my blog ... オークリーメガネ
Terrific article! This is the type of information that should be
shared across the web. Shame on Google for now not
positioning this put up upper! Come on over and consult with my website .
Thanks =)
My web-site - オークリー サングラス
Your post features verified useful to mе peгsonallу.
It’s гeally useful and yоu really are οbviously ѵery well-informed in this
fiеld. You poѕsess popped my own еyes in ordеr to different opiniοn of this рarticulaг toρic tοgether with intriguing, nοtable and solіd articleѕ.
my wеb site; http://isolve.com.br/neodroid/index.php?title=Buy_viagra_online
My blog ; viagra
Hmm is anyone else having problems with the images
on this blog loading? I'm trying to find out if its a problem on my end or if it's the blog.
Any feed-back would be greatly appreciated.
Here is my web page: オークリー ゴーグル
I am sure this paragraph has touched all the internet viewers, its really really pleasant paragraph on building up new web site.
Feel free to surf to my blog post: レイバンサングラス
I love your blog.. very nice colors & theme. Did you make this website
yourself or did you hire someone to do it for you?
Plz respond as I'm looking to construct my own blog and would like to find out where u got this from. cheers
Feel free to surf to my web page; 激安レイバン
Ahaa, its pleasant dialogue about this piece of writing here at this web site, I have read all that, so now me also commenting here.
Feel free to visit my webpage - オークリー アウトレット
my weblog web page
Visit my web-site web site
WOW just what I was searching for. Came here
by searching for レイバンメガネ
My site; レイバンサングラス
Great article! That is the type of info that are meant to be shared
around the internet. Disgrace on Google for no longer positioning this
put up higher! Come on over and visit my web site .
Thank you =)
Check out my weblog: blogspot.com
Take a look at my blog; webpage
These are truly great ideas in regarding blogging. You have touched some good things here.
Any way keep up wrinting.
Also visit my page; オークリー サングラス
I'll immediately snatch your rss as I can not find your e-mail subscription link or e-newsletter service. Do you have any? Please allow me know in order that I could subscribe. Thanks.
Here is my web site prada 財布
Hey I know this is off topic but I was wondering if
you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.
Also visit my weblog ... air jordan
Wow that was strange. I just wrote an very long comment but after I clicked submit my comment didn't appear. Grrrr... well I'm not writing all that over again.
Anyways, just wanted to say fantastic blog!
my page; http://Www.idcnw.com/shownews.asp?id=325
Υour геport haѕ verified
helpful tο me peгsonally. It’s reаlly helpful аnd you're simply clearly very experienced in this field. You possess exposed my eye for you to numerous opinion of this particular subject matter along with intriguing and reliable content material.
Also visit my web blog - buy viagra online
http://www.achildsplace.org/banners/tramadolonline/#6973 buy tramadol - order tramadol online cod
Dog Bites More Info ;)
Coverage regarding loss incurred simply by serves of warincluding chemical substance attacks, civil battle, plus nuclear waris not possible. Right after 9/11, the particular Terrorism Risk Insurance coverage Take action of 2002 permits industrial insurance coverage in the event of terrorist episodes. Nevertheless , there is no equivalent home insurance coverage. Go Here ;)
Attractive section of content. I just stumbled upon your weblog and
in accession capital to assert that I get actually enjoyed account your blog posts.
Anyway I'll be subscribing to your augment and even I achievement you access consistently fast.
My blog: エアジョーダン
Company has to make numerous decisions for a perfect running choice regarding the buy associated with insurance policy. There are various varieties of policy such as cash value insurance or even replacement unit coast insurance coverage. chwilówki ;) Usually, auto insurance rate evaluation charts are supplied on the website after you your required details yet there are some web sites that will would rather email the free quotes that will match your needs.
pozyczki bez bik nowoczesne przez net Where can you purchase PLPD Auto insurance? Because of technologies as well as the increase of the web shopping for an inexpensive PLPD insurance policy is never much easier. Evaluating rates and shopping around was once a pain. It all involved producing many calls and speaking with a fifty percent dozens of sales reps plus insurance providers. Obviously you also had to pay attention to every sales rep put in their own two pennies System.Drawing.Bitmap the sales pitch. Fortunately, times possess transformed so you understand longer have to do points the old-fashioned method. You can now compare estimates as well as buy PLPD car insurance right from the convenience of your house. If it is your own objective to find the least expensive price possible for PLPD insurance coverage I recommend checking the web plus visiting an internet insurance plan assessment site. These sites can make your life simple. They are going to question you some simple questions the zip program code and the kind of vehicle a person drive. Once you have offered this information the evaluation site will provide you with a listing of the service providers within your squat program code using the least expensive prices. Once you have concentrated straight down your own choice you are able to complete your own estimate with the company of the option and complete your own buy online or with a live life consultant.
Additional wellness program insurance coverage information
chwilówki ;<
David Kerr is a College of Guelph marketing and advertising administration graduate that recently completed the Risk Analyzer rotating system with Marsh Europe Limited. He presently works as a Customer Consultant who offers support plus solutions in order to bigger insurance broker agent and risk management accounts. He or she worked well as a summer season college student at a variety of some other insurance firms before beginning the particular basic system at Marsh.
pożyczka bez bik kliknij i weź
Hello There. I discovered your weblog using msn.
This is a very neatly written article. I will make sure to bookmark it and return to learn more of your helpful info.
Thank you for the post. I will definitely return.
My web page; プラダ
In nearly every case, home insurance coverage is not going to protect loss related to online work. This includes each carrying out work at home for a job in addition to deficits related to a home business. For instance , in case a person brings the work computer home in fact it is thieved, house insurance will generally not protect this loss. Additionally, losing tools used by a house company is also not covered. Nevertheless , the largest possible threat will be home business responsibility. If a home owner has customers to his or her house and the client becomes harmed, the home insurance policy is not going to protect the particular house owner using this responsibility. kredyt bez bik jaka firma We should know the coverage we require. In any business the master have to know the basic concept of which kind associated with business he or she precisely going to function as well as the components of the business enterprise we ought to constantly study regarding the business beginning with. The particular paperwork legal custom and more elements to be taken within consider. You will find few question which should be consider plus answer it. chwilówki sprawdź ofertę 10. Should you not generate often , then tell your insurance professional so that your high quality could be altered appropriately. You can generate what exactly is called a low-mileage discount, which could enable you to get up to fifty percent off your high quality. In case you choose this large discount, you should have the ability to back it up. A device that will trails your usage might be attached to your automobile. pożyczki pozabankowe
http://zoekvoormij.nu/upload/index.php?do=/blog/1481/house-insurance-plan-info/
http://soversedemo1.soverse.com/node/16361
Link exchange is nothing else but it is simply placing the other person's web site link on your page at suitable place and other person will also do similar in support of you.
Also visit my blog: コーチアウトレット
ll see much better results with this diet plan than you would with others that
use some generic formula to calculate your nutrient needs.
The 62 page Somanabolic Weight Training program that details the specific workouts you need to
do depending on your somatotype (body type) in order to pack on lean muscle mass.
Whenever upgrades became ready you'll fully grasp this totally free no matter what quantity of money cost to establish them.
Take a look at my site: somanabolic Muscle maximizer review
Post a Comment