Raghuram Vadapalli
Raghuram Vadapalli

Reputation: 1240

Learning word alignment from nltk

I have a parallel corpus for english-german. Is there a way to extract word alignment table from this corpus using nltk? I don't know if nltk.align is supposed to do this. I am unable to figure out from the documentation.

Upvotes: 1

Views: 400

Answers (1)

alexis
alexis

Reputation: 50190

Look at the source of the modules in the nltk.translate package (previously known as nltk.align); you'll find descriptions of the available algorithms and references to the research literature that explains them in more detail.

Upvotes: 1

Related Questions