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 | 658263d53805482d2bc2dc186476626a01cb4e93 (patch) | |
tree | 1e0be0de4deea445e0670c51564313c11f705b52 /vest/ces.cc | |
parent | 3a4f9a526c58cbc1fe69fe5b3aeefd9639f9c49b (diff) |
extract kbest alignments
Diffstat (limited to 'vest/ces.cc')
-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 { |