summaryrefslogtreecommitdiff
path: root/vest
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
commit658263d53805482d2bc2dc186476626a01cb4e93 (patch)
tree1e0be0de4deea445e0670c51564313c11f705b52 /vest
parent3a4f9a526c58cbc1fe69fe5b3aeefd9639f9c49b (diff)
extract kbest alignments
Diffstat (limited to 'vest')
-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 {