cdec icon indicating copy to clipboard operation
cdec copied to clipboard

index not correct in fast_align.cc when computing emp_feat

Open hitochan777 opened this issue 10 years ago • 0 comments

When computing emp_feat in fast_align.cc(line 205), I think index j should be j+1 since j start from 0. emp_feat += DiagonalAlignment::Feature(j, i, trg.size(), src.size()) * p;

The other parts pass j+1 instead of j.

hitochan777 avatar Dec 15 '14 04:12 hitochan777