Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.47 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.47 KB

Arpabet-to-IPA

Arpabet-to-IPA converts Arpabet to IPA.
Arpabet is the set of phonemes used by cmudict, which is The CMU Pronouncing Dictionary. IPA is the International Phonetic Alphabet.

This version is a derivation of wwesantos/arpabet-to-ipa. The difference is that this version shows primary and secondary stresses. The algorithm for stress attribution isn't 100% precise but it should work in most cases. Your contribution is welcomed.

Getting Started

Install

You may install the Arpabet-to-IPA manually.

Tutorial

Instantiate and use a Arpabet-to-IPA class:


	$arpabetToIPA = new ArpabetToIPA\App();
	$ipaPhoneme = $arpabetToIPA->getIPA('AA');
	$ipaWord = $arpabetToIPA->getIPA('F OW1 N IY0 M');

System Requirements

You need PHP >= 5.3.0.

License

The Arpabet-to-IPA is released under the MIT public license.

https://github.com/wwesantos/arpabet-to-ipa/blob/master/LICENSE