Metadata-Version: 2.4
Name: disvortilo
Version: 0.7.0
Summary: Disvortilo is a simple tool that breaks Esperanto words into roots and affixes.
Author-email: Franz Weingartz <scaui0@gmx.net>
License-Expression: MIT
Project-URL: Homepage, https://github.com/LerniloEO/disvortilo
Project-URL: Repository, https://github.com/LerniloEO/disvortilo
Project-URL: Issues, https://github.com/LerniloEO/disvortilo/issues
Keywords: Esperanto,morphology,linguistics,NLP
Classifier: Topic :: Text Processing :: Linguistic
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Disvortilo

Disvortilo is a simple tool that breaks Esperanto words into roots and affixes.

## Getting Started

You can install Disvortilo from PyPI using pip:

```shell
pip install disvortilo
```

## Examples

```python
from disvortilo import Disvortilo

disvortilo = Disvortilo()

print(disvortilo.parse("malliberejo"))
# > [('mal', 'liber', 'ej', 'o')]

# some have more than one possible output
# like "Esperanto" which means "a hoping person"
print(disvortilo.parse("esperantistino"))
# > [('esper', 'ant', 'ist', 'in', 'o'), ('esperant', 'ist', 'in', 'o')]

# you can also get the morphemes of the word
print(disvortilo.parse_detailed("plibonigojn"))
# > [(('pli', FULL_WORD), ('bon', ROOT), ('ig', SUFFIX), ('ojn', POS))]
```
