Click here to register.

Comments

Flat
Automated word insertion in alphabetical order
User: Sergey
Date: 4/20/2008 10:01 am
Views: 102
Rating: 8    Rate [

+

]
Hello,
Is there a way to add missing words to the VoxForgeDict in alphabetical order automatically?
If no, I will try to write a script.
Thanks,
--Sergey
Reply
Re: Automated word insertion in alphabetical order
User: kmaclean
Date: 4/21/2008 5:02 pm
Views: 26
Rating: 10    Rate [

+

]

Hi Sergey,

The HTK tools expect the sort order of a file to use Perl's sort order.  Here is an example of a script that uses Perl's sort that you might use to start you off:

perlsort.pl

If there are only a few new words, I think I was adding them in manually.

Ken 

Reply
Re: Automated word insertion in alphabetical order
User: Sergey
Date: 4/22/2008 7:33 am
Views: 23
Rating: 7    Rate [

+

]
Thanks a lot Ken!
Reply
Add