PHP Classes
elePHPant
Icontem

PHP Phonetic Transcriber: Transcribe English words to IPA using Lingorado

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-02-01 (14 hours ago) RSS 2.0 feedNot enough user ratingsTotal: 111 This week: 19All time: 8,503 This week: 63Up
Version License PHP version Categories
phonetic-transcriber 1.0MIT/X Consortium ...5PHP 5, Text processing, Web services
Description Author

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).

Innovation Award
PHP Programming Innovation award nominee
January 2017
Nominee
Vote
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.

Manuel Lemos
  Performance   Level  
Name: Gavin Gordon Markowski <contact>
Classes: 10 packages by
Country: Canada Canada
Innovation award
Innovation award
Nominee: 4x

Details

Phonetic Transcriber

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)

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.

  Files folder image Files  
File Role Description
Files folder imagesrc (1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE.txt Lic. License
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageLanguage (1 file)

  Files folder image Files  /  src  /  Language  
File Role Description
  Plain text file PhoneticTranscriber.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:111
This week:19
All time:8,503
This week:63Up