diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2010-12-10 13:00:04 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2010-12-10 13:00:04 -0500 |
commit | b8f314dddda3d440164e4772830e3c951ba06ee4 (patch) | |
tree | 794e70c9b2492181618c2226a199bd6f0b447feb /vest | |
parent | d53b676548531af8f20a000b10d25f4fcaa811b3 (diff) |
extract kbest alignments
Diffstat (limited to 'vest')
-rw-r--r-- | vest/ces.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vest/ces.cc b/vest/ces.cc index aa341058..4ae6b695 100644 --- a/vest/ces.cc +++ b/vest/ces.cc @@ -42,7 +42,7 @@ void ComputeErrorSurface(const SentenceScorer& ss, const ViterbiEnvelope& ve, Er Lattice ref; LatticeTools::ConvertTextOrPLF(psrc->substr(0, pos), &src); LatticeTools::ConvertTextOrPLF(psrc->substr(pos + 5), &ref); - AlignerTools::WriteAlignment(src, ref, hg, &os, true, &edges); + AlignerTools::WriteAlignment(src, ref, hg, &os, true, 0, &edges); string tstr = os.str(); TD::ConvertSentence(tstr.substr(tstr.rfind(" ||| ") + 5), &trans); } else { |