deepmorpheus

Morphological tagger for Ancient Greek and Latin using deep learning


License
MIT
Install
pip install deepmorpheus==0.2.3

Documentation

Deep Morpheus

Morphological tagger for Ancient Greek and Latin using deep learning.

Installation

Make sure you are running Python 3.6 or higher. You can install the package from PyPI:

pip install deepmorpheus

Usage

Import the library:

import deepmorpheus

To tag a .txt file::

deepmorpheus.tag_from_file("input.txt", "ancient-greek")

To tag a string directly:

deepmorpheus.tag_from_lines("τὰ γὰρ πρὸ αὐτῶν καὶ τὰ ἔτι παλαίτερα σαφῶς μὲν εὑρεῖν διὰ χρόνου πλῆθος ἀδύνατα ἦν", "ancient-greek")

License

MIT