explain toki pona text
Find a file
2025-04-19 10:25:54 +07:00
.gitignore add gitignore and readme content 2025-04-19 10:12:38 +07:00
explain.js correct apostrophes 2025-04-19 10:25:54 +07:00
readme.md correct readme 2025-04-19 10:13:39 +07:00

explains each word in the provided toki pona text. depends on nodejs. i use it with a small bash script helper.

#!/bin/sh
/usr/bin/node ~/path/to/toki-pona-explain/explain.js $@

output looks like this.

[10:08:49] $ tpex o toki sin e ni

o toki sin e ni

o
* particle: (addressing people, commands)

toki
* noun: speech, conversation, language
* adjective: verbal, conversational
* verb: to speak, to talk, to use language, to think

sin
* noun: novelty, addition, (unconventional) update, spice
* adjective: new, additional, fresh, extra
* verb: to add, to update

e
* particle: (specifies an object)

ni
* noun/adjective: this, that