jayurbain / mitlm

Automatically exported from code.google.com/p/mitlm
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

interpolating custom language model with lm_giga_5k_nvp_3gram.arpa fails #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
My Input:

interpolate-ngram -lm "test_model.lm, lm_giga_5k_nvp_3gram.arpa" -wl 
combined_lang_model.lm -verbose

test_model.lm is one I created. It interpolates fine by itself. 
lm_giga_5k_nvp_3gram.arpa does not work even if you interpolate it by itself.

What version of the product are you using? On what operating system?
version 48

Please provide any additional information below.

interpolate-ngram: src/NgramModel.cpp:329: void 
NgramModel::LoadLM(std::vector<DenseVector<double>, 
std::allocator<DenseVector<double> > >&, std::vector<DenseVector<double>, 
std::allocator<DenseVector<double> > >&, ZFile&): Assertion `p >= 
&line[lineLen]' failed.
Aborted

Original issue reported on code.google.com by lylepr...@gmail.com on 14 Jul 2011 at 4:21

GoogleCodeExporter commented 8 years ago
It seems that Issue 27 is the same as this one. Apologies for the duplicate 
issue.

Original comment by lylepr...@gmail.com on 14 Jul 2011 at 4:47

GoogleCodeExporter commented 8 years ago

Original comment by giuliop...@gmail.com on 3 Feb 2013 at 6:25