Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormfederico <mfederico@1f5c12ca-751b-0410-a591-d2e778427230>2006-10-20 14:37:50 +0400
committermfederico <mfederico@1f5c12ca-751b-0410-a591-d2e778427230>2006-10-20 14:37:50 +0400
commitff4e1b3ac7036c45924f2a37ecba2cf01ed3d0a0 (patch)
tree6d94ff689548f3c0b4571cb367c003ffcd8380a9 /irstlm/src/quantize-lm.cpp
parente2518b77996d56afc4d4ace22e45b2d4f4316b76 (diff)
Improving OOV word management in LM n-grams uploaded from disk according to a specified dictionary.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@900 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'irstlm/src/quantize-lm.cpp')
-rw-r--r--irstlm/src/quantize-lm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/irstlm/src/quantize-lm.cpp b/irstlm/src/quantize-lm.cpp
index 8d6a78fa4..1b326ce97 100644
--- a/irstlm/src/quantize-lm.cpp
+++ b/irstlm/src/quantize-lm.cpp
@@ -386,6 +386,8 @@ int ComputeCluster(int centers,double* ctrs,int N,double* dataPts){
cout.flush();
delete [] population;
+ delete [] species;
+
return 1;