summaryrefslogtreecommitdiff
path: root/vest/ces.cc
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2010-12-10 13:00:04 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2010-12-10 13:00:04 -0500
commitb8f314dddda3d440164e4772830e3c951ba06ee4 (patch)
tree794e70c9b2492181618c2226a199bd6f0b447feb /vest/ces.cc
parentd53b676548531af8f20a000b10d25f4fcaa811b3 (diff)
extract kbest alignments
Diffstat (limited to 'vest/ces.cc')
-rw-r--r--vest/ces.cc2
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 {