https://github.com/rieselhilfe/parseo
A smart esperanto word parser that shows all possible word compositions from roots, affixes and word endings. Based on Baza Radikaro Oficiala.
https://github.com/rieselhilfe/parseo
esperanto esperanto-translation natural-language parser
Last synced: 8 months ago
JSON representation
A smart esperanto word parser that shows all possible word compositions from roots, affixes and word endings. Based on Baza Radikaro Oficiala.
- Host: GitHub
- URL: https://github.com/rieselhilfe/parseo
- Owner: Rieselhilfe
- License: gpl-3.0
- Created: 2020-11-25T03:11:27.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-05-15T16:35:41.000Z (over 2 years ago)
- Last Synced: 2024-12-31T22:42:19.344Z (10 months ago)
- Topics: esperanto, esperanto-translation, natural-language, parser
- Language: Python
- Homepage:
- Size: 134 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# parseo
A smart esperanto word parser that shows all possible word compositions from roots, affixes and word endings.
Based on the wordlists of Baza Radikaro Oficiala.Web version: [http://parseo.online](http://parseo.online)
Usage from command line:
python parseo.py parse [esperanto-word]
For Example:
python parseo.py parse memorindajnoutputs (as a rich library table):
| Nr. | Prefix | Root | Suffix | Morphology |
| --- | ------ | ---- | ------ | ---------- |
| 0 | mem : self | or: gold | ind: (denotes worthiness, merit) | adjective, accusative, plural |
| 1 | | memor: to recall; recollect; remember | ind: (denotes worthiness, merit) | adjective, accusative, plural |Parseo also can parse and translate numbers and understands the x-system, so:
python parseo.py parse "kvin milionoj kvarcent tridek kvin mil sescent okdek naux"
outputs:
| Nr. | Prefix | Root | Suffix | Morphology |
| --- | ------ | ---- | ------ | ---------- |
| 0 | | number: 5435689 | | |