wwesantos/arpabet-to-ipa
最新稳定版本:v1.0.0
Composer 安装命令:
composer require wwesantos/arpabet-to-ipa
包简介
Convert Arpabet to IPA. Arpabet is the set of phonemes used by the CMU Pronouncing Dictionary. IPA is the International Phonetic Alphabet
README 文档
README
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.
Getting Started
Install
You may install the Arpabet-to-IPA with Composer (recommended) or manually.
Installing Arpabet-to-IPA:
composer require wwesantos/arpabet-to-ipa
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');
You may define your own convertion table
$arpabetToIPA->setConvertionTable(array(
'AO' => 'ɔ',
'AA' => 'ɑ',
'F' => 'f',
'V' => 'v',
'S' => 's'
));
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统计信息
- 总下载量: 442
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 45
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-20