Make alignment pipeline fully compatible with eflomal
Closed this issue · 0 comments
isaac091 commented
Eflomal works when directly using the align script, but when the nmt scripts do alignment, they call the add_alignment_scores
function from alignment/utils.py
, which errors out when you try to use eflomal. I think all we need is a few checks added to the compute_alignment_scores
function to prevent it from calling methods that don't exist for certain aligners.