简体   繁体   中英

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 clueless 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)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM