From 66af8ed561e42943d089d4fbb6ff06ce862a388b Mon Sep 17 00:00:00 2001 From: "philblunsom@gmail.com" Date: Fri, 2 Jul 2010 14:59:26 +0000 Subject: git-svn-id: https://ws10smt.googlecode.com/svn/trunk@106 ec762483-ff6d-05da-a07a-a48fb63a330f --- gi/pyp-topics/src/train-contexts.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gi/pyp-topics/src/train-contexts.cc b/gi/pyp-topics/src/train-contexts.cc index 43ca7ab1..46849a07 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::const_iterator termIt=all_terms.begin(); termIt != all_terms.end(); ++termIt) { std::vector strings = contexts_corpus.context2string(*termIt); + default_topics << model.max(-1, *termIt) << " ||| " << std::endl; std::copy(strings.begin(), strings.end(), std::ostream_iterator(default_topics, " ")); - default_topics << "||| " << model.max(-1, *termIt) << std::endl; } } -- cgit v1.2.3