General Discussion

Nested
generic english .grammar and .voca files?
User: slidgey
Date: 12/30/2008 11:36 am
Views: 16014
Rating: 5

Hi All,

I have Julius up and running on my Linux system and have been able to understand and add to the .grammar and .voca files.  My question is this:

I want to use Julius for dictation.  I want to be able to talk at Julius in english as naturally as possible and have it ouput what I am saying as best it can.  Has anyone created generic .grammar and .voca files for this that include all the words in the VoxForge Accoustic Models?

What is the current best way to set up Julius for dictation?

--- (Edited on 12/30/2008 11:36 am [GMT-0600] by ) ---

Re: generic english .grammar and .voca files?
User: nsh
Date: 12/30/2008 4:52 pm
Views: 120
Rating: 4

This trigram model is generic enough:

http://www.inference.phy.cam.ac.uk/kv227/lm_giga/lm_giga_64k_nvp_3gram.zip

You can use it with julius with -d option when you convert it to a juluis binary format with mkbingram.

That will not work well though.

--- (Edited on 12/30/2008 4:52 pm [GMT-0600] by nsh) ---

Re: generic english .grammar and .voca files?
User: slidgey
Date: 12/31/2008 11:44 pm
Views: 99
Rating: 7

Thanks.  I'll try this.  Is there any english language model that WILL work well for dictation with Julius?

--- (Edited on 12/31/2008 11:44 pm [GMT-0600] by slidgey) ---

Re: generic english .grammar and .voca files?
User: nsh
Date: 1/1/2009 2:34 am
Views: 59
Rating: 3

It's naive to think that dictation problems will be solved by a language model.

--- (Edited on 1/1/2009 2:34 am [GMT-0600] by nsh) ---

Re: generic english .grammar and .voca files?
User: slidgey
Date: 1/1/2009 9:49 am
Views: 148
Rating: 3

So how do I get dictation working?

Julius claims to work well in Japanese.  Why not in english?

--- (Edited on 1/1/2009 9:49 am [GMT-0600] by slidgey) ---

Re: generic english .grammar and .voca files?
User: kmaclean
Date: 1/2/2009 10:03 am
Views: 342
Rating: 8

Hi slidgey,

>So how do I get dictation working?

>Julius claims to work well in Japanese.  Why not in english

Because we need way more *English* speech (1000+ hours) to create acoustic models that might be used for dictation.

Ken

--- (Edited on 1/2/2009 11:03 am [GMT-0500] by kmaclean) ---

Re: generic english .grammar and .voca files?
User: perel
Date: 5/5/2009 11:34 pm
Views: 146
Rating: 3

What command line are you using with mkbingram? I keep getting an "invalid header" error.. sure it's a newbie mistake but I'm trying to get something at least semi-usable I can work with. I realize the model isn't yet to the point where it can handle dictation, but without a larger grammar file it's hard to get over the initial learning curve.. thanks for any advice you can give.

--- (Edited on 5/5/2009 11:34 pm [GMT-0500] by Visitor) ---

Re: generic english .grammar and .voca files?
User: nsh
Date: 5/6/2009 5:03 pm
Views: 91
Rating: 4

Something like

mkbingram -nlr lm_giga_64k_nvp_3gram.arpa julius.bin


Should work.

--- (Edited on 5/6/2009 5:03 pm [GMT-0500] by nsh) ---

Re: generic english .grammar and .voca files?
User: perel
Date: 5/8/2009 5:32 pm
Views: 85
Rating: 3

Hmm.. I get the help text with those options:

$ ../bin/mkbingram -nlr lm_giga_64k_nvp_3gram.arpa julius.bin
mkbingram: make/convert binary n-gram from ARPA format for Julius
usage 1: ../bin/mkbingram ARPA_2-gram ARPA_rev-3-gram outfile
usage 2: ../bin/mkbingram -d bingram outfile

--- (Edited on 5/8/2009 5:32 pm [GMT-0500] by Visitor) ---

Re: generic english .grammar and .voca files?
User: nsh
Date: 5/8/2009 7:57 pm
Views: 228
Rating: 8

Are you trying some old version? Mine is 4.0.2 for example.

 

--- (Edited on 5/8/2009 7:57 pm [GMT-0500] by nsh) ---

PreviousNext