Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEva Hasler <ehasler@saxnot.inf.ed.ac.uk>2012-04-12 00:02:13 +0400
committerEva Hasler <ehasler@saxnot.inf.ed.ac.uk>2012-04-12 00:02:13 +0400
commit7e0c498096e4b11ca981a04f44ef1f73dc5de698 (patch)
tree47c7e7b03e2d4136f644d75c03c19a9c4511b24a /OnDiskPt
parent9acbecc9ba4b44b9107b95cba5c96c06e3046c09 (diff)
OnDiskPt: use third count instead of second
Diffstat (limited to 'OnDiskPt')
-rw-r--r--OnDiskPt/Main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/OnDiskPt/Main.cpp b/OnDiskPt/Main.cpp
index d8899def5..013223370 100644
--- a/OnDiskPt/Main.cpp
+++ b/OnDiskPt/Main.cpp
@@ -146,6 +146,13 @@ void Tokenize(SourcePhrase &sourcePhrase, TargetPhrase &targetPhrase, char *line
break;
case 5: {
// count info. Only store the 2nd one
+ //float val = Moses::Scan<float>(tok);
+ //misc[0] = val;
+ ++stage;
+ break;
+ }
+ case 6: {
+ // store only the 3rd one (rule count)
float val = Moses::Scan<float>(tok);
misc[0] = val;
++stage;