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
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 details)
Built Distribution
File details
Details for the file deepmorpheus-0.2.3.tar.gz
.
File metadata
- Download URL: deepmorpheus-0.2.3.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30a43b265e2e7d5aecd2296f849d7850832ac769144e4d9af3246dc3f5f0a440 |
|
MD5 | 356b30ea14ce97163d1067eabddb19b7 |
|
BLAKE2b-256 | 00f66d13aaa3a79cfa192143097a2cb2519b3e930f93a52f1368dc6d2d4309f8 |
File details
Details for the file deepmorpheus-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: deepmorpheus-0.2.3-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de28a58511e6017741d3cf4fa9a5271c476b371298de558bdb097f08f7af1d3b |
|
MD5 | eeb89162f79e5b7df94431c26e939a6c |
|
BLAKE2b-256 | d0bff354d8d465f44eede92adae97b54a701c2ff5cf4c5ebaa27b63cee9138e3 |