Skip to content

ilo-token/ilo-token.github.io

Repository files navigation

ilo Token

A rule-based dictionary-based Toki Pona to English translator that translates into multiple English outputs showing many possible grammatical and semantic interpretation of the text. No machine learning involved.

Try it

It is work in progress! We welcome contributors however!

Dependencies

You'll need the following in order to run commands:

Building

This fetches more dependencies needed, builds the dictionary, and builds ./dist/main.js as a minified file ready for production use. If you made changes to the dictionary, you'll need to run this again.

deno task build

Watching

Before running this command, you'll need to run deno task build first. This is because deno task watch doesn't fetch dependencies nor builds the dictionary.

This builds ./dist/main.js as a non-minified file with source mapping, intended for testing and debugging. This command also watches the source codes in ./src/ path and rebuilds ./dist/main.js whenever there are changes.

deno task watch

To stop this command, simply press Ctrl + C.

Running locally

After building or watching, you can directly run ./dist/index.js using your favorite browser.

About

A rule-based Toki Pona to English translator; Currently work in progress!

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks