koine-nlp release
The Blog of Nathan D. Smith
Today I am formally releasing koine-nlp 0.2, a Python library for common NLP-related tasks for Koine Greek. I decided to make a fancy koine-nlp homepage with the help of sphinx. It includes info on installation, a tutorial, and an API reference for the koinenlp module. You can find the source repository here.
In the most basic mode of operation, koine-nlp is used to prepare polytonic Greek text for indexing by normalizing. This done by means of the omnibus normalize() function:
>>> import koinenlp >>> koinenlp.normalize("καὶ ἡ σκοτία αὐτὸ οὐ κατέλαβεν.") 'και η σκοτια αυτο ου κατελαβεν'
There's plenty more to it - see the documentation for more.
I do plan on adding some features in the future, so watch this space.