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-24 08:14:59 +0400
committerEva Hasler <ehasler@saxnot.inf.ed.ac.uk>2012-04-24 08:14:59 +0400
commit752c36cb310a412bfb66bc9d821f9e35795b124b (patch)
treed83b94e3d626e9a8b33a37639c84a40408b60a9c /OnDiskPt
parent0e7e84f9103e0551329c5f74fb5ffe35b22d5a71 (diff)
use rule count feature in binary table
Diffstat (limited to 'OnDiskPt')
-rw-r--r--OnDiskPt/Main.cpp9
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;