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