定制 gavinggordon/phonetictranscriber 二次开发

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

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

gavinggordon/phonetictranscriber

Composer 安装命令:

composer require gavinggordon/phonetictranscriber

包简介

A PHP class to transcribe English words into their IPA equivalent.

README 文档

README

Packagist Version Github Release Usage License

Description

A PHP class which provides the ability to transcribe American and/or British English words into their IPA (International Phonetic Alphabet) equivalent.

Dependencies

~ ([rmccue/requests ^1.7](https://github.com/rmccue/Requests))

Usage

Installation

	$	composer require gavinggordon/phonetictranscriber

Examples

Instantiation:

Include the autoload.php file generated by composer, then instantiate the PhoneticTranscriber class:

	include( __DIR__ . '/vendor/autoload.php' );

	$transcriber = new GGG\Language\PhoneticTranscriber;

Transcribing:

Get the transcription of a given word, using the default settings:

	$transcription = $transcriber->transcribe( 'word' );

Public Methods Overview

  • __construct
  • set( $property, $value )
  • transcribe( $text = NULL )

Important Class Properties

  • text_to_transcribe [ string; required ]
  • output_dialect [ string; options: 'am' (american), 'br' (british); default: 'am' ]
  • output_style [ string; options: 'inline', 'columns', 'text'; default: 'inline' ]

Issues

If you have any issues at all, please post your findings in the issues page at https://github.com/gavinggordon/phonetictranscriber/issues.

License

This package utilizes the MIT License.

More Information

PHP Innovation Award

This class has been nominated for a PHP Innovation Award, provided by PHPClasses.org. If you found this class to be at all interesting, helpful, particularly useful, or innovative in any way, please vote for it, to show your support for this or any other PHP classes accessible online via my GitHub profile or PHPClasses.org profile.

统计信息

  • 总下载量: 128
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 8
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-01-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固