diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-10-19 05:24:21 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-10-19 05:24:21 -0400 |
commit | 011a87cfe6d9cc702cb4a8a6d9a765556e460af9 (patch) | |
tree | 4747c3fc01d45dfdf58a454ef22e388d9f245e71 /training/minrisk | |
parent | e8451a312b01b0917ffef06afc17f1e8cad5d510 (diff) |
stop switch to boost serialization for hypergraph IO
Diffstat (limited to 'training/minrisk')
-rw-r--r-- | training/minrisk/minrisk_optimize.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/training/minrisk/minrisk_optimize.cc b/training/minrisk/minrisk_optimize.cc index da8b5260..a2938fb0 100644 --- a/training/minrisk/minrisk_optimize.cc +++ b/training/minrisk/minrisk_optimize.cc @@ -178,7 +178,7 @@ int main(int argc, char** argv) { ReadFile rf(file); if (kis.size() % 5 == 0) { cerr << '.'; } if (kis.size() % 200 == 0) { cerr << " [" << kis.size() << "]\n"; } - HypergraphIO::ReadFromJSON(rf.stream(), &hg); + HypergraphIO::ReadFromBinary(rf.stream(), &hg); hg.Reweight(weights); curkbest.AddKBestCandidates(hg, kbest_size, ds[sent_id]); if (kbest_file.size()) |