phonologist
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

Phonologist

npm-badge license-badge build-status-badge

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

  1. better diacritic data
  2. add modifiers to phonemes
  3. more docs

License

MIT, but includes data and code compiled and written by felix for their phonology generator / phonology analyzer (and associated projects)

Readme

Keywords

none

Package Sidebar

Install

npm i phonologist

Weekly Downloads

1

Version

0.1.6

License

MIT

Unpacked Size

97.8 kB

Total Files

21

Last publish

Collaborators

  • auctumnus