summaryrefslogtreecommitdiff
path: root/training
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-04-26 17:50:59 +0200
committerPatrick Simianer <p@simianer.de>2016-04-26 17:50:59 +0200
commit6c1b4b07a4ffcb7c41abecc407b09580ecf8da5b (patch)
tree3785bf6251afe6cdf7e0b0692859479c48ee169b /training
parentd903f9e05865d134d272b87a8ca989f159188164 (diff)
rampion: Laura's fix for k-best accumulationHEADmaster
Diffstat (limited to 'training')
-rw-r--r--training/rampion/rampion_cccp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/training/rampion/rampion_cccp.cc b/training/rampion/rampion_cccp.cc
index 1c45bac5..8db011e8 100644
--- a/training/rampion/rampion_cccp.cc
+++ b/training/rampion/rampion_cccp.cc
@@ -122,6 +122,7 @@ int main(int argc, char** argv) {
while(getline(in, line)) {
istringstream is(line);
int sent_id;
+ is >> file >> sent_id;
kis.resize(kis.size() + 1);
training::CandidateSet& curkbest = kis.back();
string kbest_file;
@@ -132,7 +133,7 @@ int main(int argc, char** argv) {
if (FileExists(kbest_file))
curkbest.ReadFromFile(kbest_file);
}
- is >> file >> sent_id;
+// is >> file >> sent_id;
ReadFile rf(file);
if (kis.size() % 5 == 0) { cerr << '.'; }
if (kis.size() % 200 == 0) { cerr << " [" << kis.size() << "]\n"; }