diff options
author | Eva Hasler <ehasler@saxnot.inf.ed.ac.uk> | 2012-04-24 08:14:59 +0400 |
---|---|---|
committer | Eva Hasler <ehasler@saxnot.inf.ed.ac.uk> | 2012-04-24 08:14:59 +0400 |
commit | 752c36cb310a412bfb66bc9d821f9e35795b124b (patch) | |
tree | d83b94e3d626e9a8b33a37639c84a40408b60a9c /OnDiskPt | |
parent | 0e7e84f9103e0551329c5f74fb5ffe35b22d5a71 (diff) |
use rule count feature in binary table
Diffstat (limited to 'OnDiskPt')
-rw-r--r-- | OnDiskPt/Main.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OnDiskPt/Main.cpp b/OnDiskPt/Main.cpp index 013223370..72bf8b531 100644 --- a/OnDiskPt/Main.cpp +++ b/OnDiskPt/Main.cpp @@ -144,6 +144,13 @@ void Tokenize(SourcePhrase &sourcePhrase, TargetPhrase &targetPhrase, char *line case 4: ++stage; break; + /* case 5: { + // count info. Only store the 2nd one + float val = Moses::Scan<float>(tok); + misc[0] = val; + ++stage; + break; + }*/ case 5: { // count info. Only store the 2nd one //float val = Moses::Scan<float>(tok); @@ -157,7 +164,7 @@ void Tokenize(SourcePhrase &sourcePhrase, TargetPhrase &targetPhrase, char *line misc[0] = val; ++stage; break; - } + } default: assert(false); break; |