Skip to main content

Morphological tagger for Ancient Greek and Latin using deep learning

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepmorpheus-0.2.3.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

deepmorpheus-0.2.3-py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page