phonologist
v0.1.6
Published
analyzes phonemes into feature lists
Downloads
4
Readme
Phonologist
A package for dealing with phonemes as written in the International Phonetic Alphabet.
Currently, allows you to decompose a phoneme into its features.
Installation
npm install phonologist
Usage
import { parsePhoneme } from 'phonologist'
parsePhoneme('t')
// {
// ipa: 't',
// features: [ 'alveolar', 'stop' ],
// modifiers: [],
// isVowel: false,
// isConsonant: true
// }
To-do
- better diacritic data
- add modifiers to phonemes
- more docs
License
MIT, but includes data and code compiled and written by felix for their phonology generator / phonology analyzer (and associated projects)