开发者

how to use the Gale-Church algorithm in Python-NLTK?

The gale-church algorithm is available in the python-NLTK but can anyone show me an example of how to call the function within a python script? i'm clueles开发者_Python百科s about how to do that.

http://code.google.com/p/nltk/source/browse/trunk/nltk_contrib/nltk_contrib/align/align.py?r=8552&spec=svn8552


After giving up on using the Gale-Church aligner in NLTK contribution, i wrote my own =) http://code.google.com/p/gachalign/ (Feb 2013)

Please use this updated version of the Gale-Church aligner: https://github.com/alvations/NTU-MC/blob/master/ntumc/toolkit/gale_church.py (Sept 2014)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜