diff options
author | Eva Hasler <ehasler@saxnot.inf.ed.ac.uk> | 2012-04-12 00:02:13 +0400 |
---|---|---|
committer | Eva Hasler <ehasler@saxnot.inf.ed.ac.uk> | 2012-04-12 00:02:13 +0400 |
commit | 7e0c498096e4b11ca981a04f44ef1f73dc5de698 (patch) | |
tree | 47c7e7b03e2d4136f644d75c03c19a9c4511b24a /OnDiskPt | |
parent | 9acbecc9ba4b44b9107b95cba5c96c06e3046c09 (diff) |
OnDiskPt: use third count instead of second
Diffstat (limited to 'OnDiskPt')
-rw-r--r-- | OnDiskPt/Main.cpp | 7 |
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; |