diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-31 01:08:42 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-31 01:08:42 +0000 |
commit | 2af5a445f3905c69c42be5c758c52a2f21b17446 (patch) | |
tree | b970b770210046d6a1b41d3385084dd7d4d06961 /utils/tdict.h | |
parent | 61be4c3048df90d7decdbe4caf91d7ed80433a3f (diff) |
l2r bugfixes
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@634 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'utils/tdict.h')
-rw-r--r-- | utils/tdict.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/tdict.h b/utils/tdict.h index a7b3ee1c..dd7f0237 100644 --- a/utils/tdict.h +++ b/utils/tdict.h @@ -21,7 +21,8 @@ struct TD { } */ static const WordID max_wordid=0x7fffffff; - static const WordID none=(WordID)-1; // Vocab_None + static const WordID null=max_wordid-1; + static const WordID none=(WordID)-1; // Vocab_None - this will collide with mixed node/variable id / word space, though. max_wordid will be distinct (still positive) static char const* const ss_str; //="<s>"; static char const* const se_str; //="</s>"; static char const* const unk_str; //="<unk>"; |