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 | 2bb5f3f4c3c347a2474392993c17cc62653dd133 (patch) | |
tree | 9dffbfd57f09393919543dfcfac886870d9afa43 /training/pro | |
parent | 9f055ef11c3f1d06b51bab34addac68e4d63eab7 (diff) |
stop switch to boost serialization for hypergraph IO
Diffstat (limited to 'training/pro')
-rw-r--r-- | training/pro/mr_pro_map.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/training/pro/mr_pro_map.cc b/training/pro/mr_pro_map.cc index da58cd24..b142fd05 100644 --- a/training/pro/mr_pro_map.cc +++ b/training/pro/mr_pro_map.cc @@ -203,7 +203,7 @@ int main(int argc, char** argv) { const string kbest_file = os.str(); if (FileExists(kbest_file)) J_i.ReadFromFile(kbest_file); - HypergraphIO::ReadFromJSON(rf.stream(), &hg); + HypergraphIO::ReadFromBinary(rf.stream(), &hg); hg.Reweight(weights); J_i.AddKBestCandidates(hg, kbest_size, ds[sent_id]); J_i.WriteToFile(kbest_file); |