0.3.1 • Published 6 years ago

to-shavian v0.3.1

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

to-shavian

Transliterate English into the Shavian (Shaw) Alphabet

Demo

View a live demo

Installation

$ npm install --save to-shavian

Usage

const toShavian = require('to-shavian')

toShavian('Hello!')
//-> "𐑣𐑩𐑤𐑴!"

How it works

This library first runs the English input through a part-of-speech tagger. It then looks up each word in a pre-compiled lexicon with over 250k entries. POS data is used to help disambiguate homographs, e.g. the plain verb “read” vs. the past participle “read”.

File Size

Due to the large bundled lexicon, this library is approximately 20 MB, but should GZIP down close to 3 MB.

Credits

The lexicon is transpiled from the Illinois Speech and Language Engineering group’s ISLEDict lexicon.

POS tagging is powered by wink’s wink-pos-tagger.

0.3.1

6 years ago

0.3.0

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago