summaryrefslogtreecommitdiff
path: root/decoder/tdict.cc
diff options
context:
space:
mode:
authorgraehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-02 08:19:59 +0000
committergraehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-02 08:19:59 +0000
commit5cff41cc3d8e53e0578fc7c4287adf3d95fb0196 (patch)
treea4407f21a3aeb7ddca6529ab47e5b3a096e1d02b /decoder/tdict.cc
parent415a3034020f7731980e9b9a53af06cec6faf53c (diff)
disable undefined token to string
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@467 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/tdict.cc')
-rw-r--r--decoder/tdict.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/tdict.cc b/decoder/tdict.cc
index f0588cfc..1f68feae 100644
--- a/decoder/tdict.cc
+++ b/decoder/tdict.cc
@@ -1,4 +1,4 @@
-#define TD_ALLOW_UNDEFINED_WORDIDS 1
+#define TD_ALLOW_UNDEFINED_WORDIDS 0
// if 1, word ids that are >= end() will give a numeric token name (single per-thread shared buffer), which of course won't be Convert-able back to the id, because it's not added to the dict. This is a convenience for logging fake token indices. Any tokens actually added to the dict may cause end() to overlap the range of fake ids you were using - that's up to you to prevent.