From b8f314dddda3d440164e4772830e3c951ba06ee4 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Fri, 10 Dec 2010 13:00:04 -0500 Subject: extract kbest alignments --- vest/ces.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vest/ces.cc') 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 { -- cgit v1.2.3