diff options
author | philblunsom@gmail.com <philblunsom@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-02 14:56:25 +0000 |
---|---|---|
committer | philblunsom@gmail.com <philblunsom@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-02 14:56:25 +0000 |
commit | acb2105d7ce2c4158a8cd4f28cb879919272f7e7 (patch) | |
tree | cc831464942ab4d32e61ec9eca31aff1e1a8778a | |
parent | 769c2739d652a13f0ae25bf185519cc12b5c844c (diff) |
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@105 ec762483-ff6d-05da-a07a-a48fb63a330f
-rw-r--r-- | gi/pyp-topics/src/train-contexts.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gi/pyp-topics/src/train-contexts.cc b/gi/pyp-topics/src/train-contexts.cc index c58474da..43ca7ab1 100644 --- a/gi/pyp-topics/src/train-contexts.cc +++ b/gi/pyp-topics/src/train-contexts.cc @@ -124,8 +124,8 @@ int main(int argc, char **argv) default_topics << model.max_topic() << std::endl; for (std::set<int>::const_iterator termIt=all_terms.begin(); termIt != all_terms.end(); ++termIt) { std::vector<std::string> strings = contexts_corpus.context2string(*termIt); - std::copy(strings.begin(), strings.end(), std::ostream_iterator<std::string>(documents_out, " ")); - default_topics << model.max(-1, *termIt) << std::endl; + std::copy(strings.begin(), strings.end(), std::ostream_iterator<std::string>(default_topics, " ")); + default_topics << "||| " << model.max(-1, *termIt) << std::endl; } } |