|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2017-01-02 (16 days ago) ||Not enough user ratings||Total: 104 This week: 16||All time: 8,522 This week: 55|
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).
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 (view)
$ composer require gavinggordon/phonetictranscriber
Include the autoload.php file generated by composer:
include( __DIR__ . '/vendor/autoload.php' );
Instantiate the PhoneticTranscriber class:
$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.
||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.