定制 wwesantos/arpabet-to-ipa 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

统计信息

  • 总下载量: 443
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 45
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 44
  • Watchers: 2
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固