Typescript code to convert between Arpabet and IPA phonetic transcriptions
- Forked from this Python implementation chdzq/ARPAbetAndIPAConvertor
- initial conversion from Python done with JavaScripthon
To add to your Javascript or Typescript project
yarn add arpabet-and-ipa-convertor-ts
To use
# your-file.js
import { toArpabet } from 'arpabet-and-ipa-convertor-t';
const arpabet = toArpabet('ˈɛniˌwʌn');
console.log(arpabet); // EH1 N IY0 W AH2 N