|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2017-02-01 (2 years ago) ||Not enough user ratings||Total: 160 ||All time: 8,596 This week: 432|
This class can transcribe English words to their IPA equivalents using Lingorado.
It takes an English word and sends an HTTP request to the Lingorado site, which responds with the transcribed word using the International Phonetic Alphabet (IPA).
Prize: One copy of the Zend Studio
|Pronouncing words depends on the language of each word, as well on the variant of the language that you may want to spell the words.
The International Phonetic Alphabet (IPA) was created to the define a standard for pronouncing the many phonemes that are used in different languages to pronounce the words.
The package can convert the phonemes of a word in a given language variant to the IPA phonemes using the Lingorado API. This way you can use a generic phoneme audio generation tool to pronounce any word in any language.
A PHP class which provides the ability to transcribe American and/or British English words into their IPA (International Phonetic Alphabet) equivalent.
~ (rmccue/requests ^1.7)
$ composer require gavinggordon/phonetictranscriber
Include the autoload.php file generated by composer,
then instantiate the PhoneticTranscriber class:
include( __DIR__ . '/vendor/autoload.php' );
$transcriber = new GGG\Language\PhoneticTranscriber;
Get the transcription of a given word, using the default settings:
$transcription = $transcriber->transcribe( 'word' );
Public Methods Overview
- 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' ]
If you have any issues at all, please post your findings in the issues page at https://github.com/gavinggordon/phonetictranscriber/issues.
This package utilizes the MIT License.
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.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.