Metadata-Version: 2.1
Name: deepmorpheus
Version: 0.2.3
Summary: Morphological tagger for Ancient Greek and Latin using deep learning
Home-page: https://github.com/offerijns/deepmorpheus
Author: Mees Gelein, Jeroen Offerijns
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: pyconll (==2.2.1)
Requires-Dist: requests (==2.23.0)
Requires-Dist: pytorch-lightning (==0.8.4)

# 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:

```shell
pip install deepmorpheus
```

## Usage
Import the library:

```python
import deepmorpheus
```

To tag a `.txt` file::

```python

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

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

## License
[MIT](https://choosealicense.com/licenses/mit/)


