You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_word_aligns returns a mapping (list of tuples). Some applications call for different matching policies, e.g. a one-to-one or one-to-many mapping.
It would be useful to separate out the first part into a new function e.g. get_word_align_matrices, that is essentially this part of get_word_aligns. This would allow the user to implement their own matching algorithm on the matrix however they want.
It's a very easy change that would add a lot of value.
The text was updated successfully, but these errors were encountered:
Correction: I think sim is the correct thing to return for this. The other matrices are just 1 for match, 0 for no match. I originally thought they would be probability-of-match matrices.
get_word_aligns
returns a mapping (list of tuples). Some applications call for different matching policies, e.g. a one-to-one or one-to-many mapping.It would be useful to separate out the first part into a new function e.g.
get_word_align_matrices
, that is essentially this part ofget_word_aligns
. This would allow the user to implement their own matching algorithm on the matrix however they want.It's a very easy change that would add a lot of value.
The text was updated successfully, but these errors were encountered: