diff options
author | philblunsom@gmail.com <philblunsom@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-16 04:50:35 +0000 |
---|---|---|
committer | philblunsom@gmail.com <philblunsom@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-16 04:50:35 +0000 |
commit | d5d7820830c2a2beda775a674f39fc8506f8a8f6 (patch) | |
tree | fdef74a7642aab8014f5080bf2a6623bc5a0736f /gi/pyp-topics/src/contexts_corpus.hh | |
parent | 22340bd468b90a0179ed14d3c3181ec4a7c5418a (diff) |
working on mpi implementation.
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@283 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi/pyp-topics/src/contexts_corpus.hh')
-rw-r--r-- | gi/pyp-topics/src/contexts_corpus.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gi/pyp-topics/src/contexts_corpus.hh b/gi/pyp-topics/src/contexts_corpus.hh index 66b71783..4d3d5669 100644 --- a/gi/pyp-topics/src/contexts_corpus.hh +++ b/gi/pyp-topics/src/contexts_corpus.hh @@ -63,6 +63,8 @@ public: std::vector<std::string> context2string(const WordID& id) const { std::vector<std::string> res; + assert (id >= 0); + std::cerr << m_dict.Convert(id) << std::endl; m_dict.AsVector(id, &res); return res; } |