diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-10-12 14:12:49 +0400 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-10-12 14:12:49 +0400 |
commit | a65efa5a601c37dd28c42faf9f31102d722de75f (patch) | |
tree | b60d09759647bf18a86d7f665a6617e9fec2bffd /moses | |
parent | 19f3f09a394e182b294a38739f1b7071cc674845 (diff) |
relax overly harsh assert
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4334 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses')
-rw-r--r-- | moses/src/PhraseDictionaryTree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/src/PhraseDictionaryTree.cpp b/moses/src/PhraseDictionaryTree.cpp index bc0874d15..530592fef 100644 --- a/moses/src/PhraseDictionaryTree.cpp +++ b/moses/src/PhraseDictionaryTree.cpp @@ -478,7 +478,7 @@ int PhraseDictionaryTree::Create(std::istream& inFile,const std::string& out) if (numElement == NOT_FOUND) { // init numElement numElement = tokens.size(); - assert(numElement == 3 || numElement == 5); + assert(numElement >= 3); } if (tokens.size() != numElement) { |