Wednesday, June 1, 2011

[ASR] Langue model

HVite can only use bigram LM after converted to lattice format. 

When generate the bigram model, it should not be count based LM,i.e. not use "-x" in LBuild.

Incorrect:

LBuild -T 1 -C lfof.cfg -c 2 0 -x -n 2 timitphns.0/wmap bg0c timitphns.0/gram.0

Correct:

LBuild -T 1 -C lfof.cfg -c 2 0 -n 2 timitphns.0/wmap bg0c timitphns.0/gram.0

Otherwise, after converted to lattice, 

HBuild -n bigram -s "<s>" "</s>" word61.lst bigram_lat

HVite cannot work correctly. For my experiments, using the incorrect LM, the recognized results are all:

<s> cl cl cl cl cl cl .... cl cl cl cl </s>

Posted via email from Troy's posterous

No comments:

Post a Comment

Google+