summaryrefslogtreecommitdiff
path: root/gi/pyp-topics/src
diff options
context:
space:
mode:
authorphilblunsom@gmail.com <philblunsom@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-02 14:59:26 +0000
committerphilblunsom@gmail.com <philblunsom@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-02 14:59:26 +0000
commit66af8ed561e42943d089d4fbb6ff06ce862a388b (patch)
treed288fc09ff684f9aefb35fd274a0b6cc06098aba /gi/pyp-topics/src
parentacb2105d7ce2c4158a8cd4f28cb879919272f7e7 (diff)
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@106 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi/pyp-topics/src')
-rw-r--r--gi/pyp-topics/src/train-contexts.cc2
1 files changed, 1 insertions, 1 deletions
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<int>::const_iterator termIt=all_terms.begin(); termIt != all_terms.end(); ++termIt) {
std::vector<std::string> strings = contexts_corpus.context2string(*termIt);
+ 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;
}
}