This Node.js module transliterates English written in the Latin alphabet to the Shavian alphabet exactly as it is pronounced in the "general" American dialect. You can use it at: https://mxskylar.github.io/american-shavian-transliterator/
The CMU Pronouncing Dictionary and pronouncingjs package are used to determine how words are pronounced.
To setup a local developer environment for this project, you will need:
- The correct version of node installed. The easiest way to do that is to use nvm. Run
nvm use
. - Dependencies installed. Run
make dependencies
. - Git hooks setup to ensure that artifacts built for browsers are committed. Run
git config core.hooksPath ".githooks"
.
To build a minified JavaScript file optimized for browsers, run:
make browser-bundle
You can run this in your browser locally by opening index.html.