Difference: GrmNGramForum (31 vs. 32)

Revision 322013-05-15 - HuanliangWang

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

OpenGrm NGram Forum

Line: 17 to 17
 
Added:
>
>

HuanliangWang - 15 May 2013 - 03:02

Hi,

I try to merge two LM by following command line:

./tools/opengrm-ngram-1.0.3/bin/ngrammerge --alpha=0.2 --beta=0.8 --normalize --use_smoothing A.fst B.fst AB.mrg.fst

But I get a error:

FATAL: NGramModel: input not deterministic

A.fst is normal fst LM trained by SRILM. B.fst is class-expanded LM by fstreplace command.

I also try to convert fst LM into arpa LM by command line:

./tools/opengrm-ngram-1.0.3/bin/ngramprint --ARPA B.fst > B.arpa

But I got a same error:

FATAL
NGramModel: input not deterministic

How to fix the error?

Thanks,

Huanliang wang

<--/commentPlugin-->
Log In

 

error when converting LM genereted by HTK into fst format

HuanliangWang - 07 May 2013 - 03:08

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback