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-04 12:54:23 +0400
committermfederico <mfederico@1f5c12ca-751b-0410-a591-d2e778427230>2006-10-04 12:54:23 +0400
commitecc894b33b5cf9c69574209be14add5292ed226a (patch)
treeb03d5f26fc7b06300293c9b3e95a89c9e9771183 /irstlm/src
parente5a880a0925bb425f18996d8c5797c667ec676f9 (diff)
irstlm: increased MAX_WORD to 500 chars in dictionary.h and added checks to see if words exceed this limit.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@845 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'irstlm/src')
-rw-r--r--irstlm/src/dictionary.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/irstlm/src/dictionary.h b/irstlm/src/dictionary.h
index 2e15f22bb..be625e810 100644
--- a/irstlm/src/dictionary.h
+++ b/irstlm/src/dictionary.h
@@ -24,7 +24,7 @@
#include <cstring>
#include <iostream>
-#define MAX_WORD 100
+#define MAX_WORD 1000
#define LOAD_FACTOR 5
#ifndef GROWTH_STEP