From c5731a9361f2615340cc3914e1c5d6a52146ccfc Mon Sep 17 00:00:00 2001 From: "philblunsom@gmail.com" Date: Fri, 2 Jul 2010 17:21:33 +0000 Subject: git-svn-id: https://ws10smt.googlecode.com/svn/trunk@116 ec762483-ff6d-05da-a07a-a48fb63a330f --- gi/pyp-topics/src/train-contexts.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gi/pyp-topics') diff --git a/gi/pyp-topics/src/train-contexts.cc b/gi/pyp-topics/src/train-contexts.cc index 0a2f1959..de107c86 100644 --- a/gi/pyp-topics/src/train-contexts.cc +++ b/gi/pyp-topics/src/train-contexts.cc @@ -111,7 +111,7 @@ int main(int argc, char **argv) //insert_result.first++; } documents_out << contexts_corpus.key(document_id) << '\t'; - documents_out << model.max(document_id) << " ||| "; + documents_out << model.max(document_id) << " " << corpusIt->size() << " ||| "; for (std::vector::const_iterator termIt=unique_terms.begin(); termIt != unique_terms.end(); ++termIt) { if (termIt != unique_terms.begin()) -- cgit v1.2.3