Difference: GrmNGramForum (31 vs. 32)

Revision 322013-05-15 - HuanliangWang

Line: 1 to 1

OpenGrm NGram Forum

Line: 17 to 17

HuanliangWang - 15 May 2013 - 03:02


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:

NGramModel: input not deterministic

How to fix the error?


Huanliang wang

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