Skip to content

Commit

Permalink
Merge branch 'master' of github.com:offerijns/nlp-classics
Browse files Browse the repository at this point in the history
  • Loading branch information
hieronx committed Jul 1, 2020
2 parents 1b37c8d + 5a8cccd commit b8fc58d
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# Deep Morpheus
Trying to parse Ancient Greek texts using state of the art neural network techniques.
Morphological tagger for Ancient Greek and Latin using deep learning.

This packages requires Python 3.6+, as well as PyTorch 1.0+. To get started, install the package from PyPI:
```
## Getting started
Make sure you are running Python 3.6 or higher. You can install the package from PyPI:

```shell
pip install deepmorpheus
```

Then, you can tag the contents of a text file like this:
To tag a `.txt` file, simply run:

```python
import deepmorpheus

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

0 comments on commit b8fc58d

Please sign in to comment.