Heyo! I've been working on a toki pona parser that allows for many different legal translations of one toki pona sentence!
It doesn't translate (yet) but it can determine parts of speech! As of now, it's relatively bug-free, and can handle numbers, prepositions, la-phrases, and other fun things.
I started working on the first version of this about two to three months ago, but then got hit by severe burnout, and wasn't able to continue working on it until a couple of days ago. (It was actually @raven bluff who gave me the inspiration to keep working on this, so thank you!)
Hopefully it's something you can all find useful / interesting!
I've included a picture of the parser in action, running the main.py script included in the repository. (The number under each parse is the bot's personal ranking of each parse - the lower the number, the better!)
If any of you have any ideas or ways I can improve it, please let me know!
Planned features include:
. Translation tools
. Spell-check
. A better punctuation lexer
. A better way to interface with the parser
https://github.com/dayofni/sona-toki