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-01-02 (16 days ago) RSS 2.0 feedNot enough user ratingsTotal: 104 This week: 16All time: 8,522 This week: 55Up
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).

  Performance   Level  
Name: Gavin Gordon Markowski <contact>
Classes: 9 packages by
Country: Canada Canada
Age: 28
All time rank: 213051 in Canada Canada
Week rank: 30 Up2 in Canada Canada Up
Innovation award
Innovation award
Nominee: 3x

Details

Phonetic Transcriber

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 (view)

Installation

	$	composer require gavinggordon/phonetictranscriber

Usage

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

  • __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.

  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:104
This week:16
All time:8,522
This week:55Up