cisnlp / simalign

Obtain Word Alignments using Pretrained Language Models (e.g., mBERT)
MIT License
347 stars 47 forks source link

Looking for clarifications #3

Closed feralvam closed 4 years ago

feralvam commented 4 years ago

Hi, This is a very useful tool. Thank you for making it available. I was reading your paper and code, and I wondering if you could clarify me which method names in the code correspond to those in the paper. In the code, the matching methods are {"a": "inter", "m": "mwmf", "i": "itermax", "f": "fwd", "r": "rev"}. In the paper, I can only see 3: argmax, itermax, and match. So, besides the obvious itermax, which method in the code corresponds to argmax and which to match? From the code, I think inter refers to argmax and mwmf to match, but I ask to be sure. Thanks for your help!

masoudjs commented 4 years ago

Hello Fernando, Thank you for your interest in our work. Yes, you are right. the argmax model in the paper is equivalent to the inter method in the code, and match is presented as mwmf.

feralvam commented 4 years ago

Thanks for the quick reply.