Lingua::Alphabet::Phonetic - map ABC's to phonetic alphabets
use Lingua::Alphabet::Phonetic; my $oMilSpeaker = new Lingua::Alphabet::Phonetic('NATO'); my @asMilSpeak = $oMilSpeaker->enunciate('ABC');
At present, the only alphabet available for conversion is the U.S. Military / NATO standard where "ABC...YZ" is pronounced "Alpha Bravo Charlie ... Yankee Zulu". It is called 'NATO' and it is included with this distribution.
Create an object of this class. See SYNOPSIS above.
Given a string, returns a list of phonetic alphabet "words", one word per character of the original string. If there is no "word" in the alphabet for a character, that character is returned in the list position.
To create a conversion scheme for another alphabet, simply subclass this module and provide a method _name_of_letter() which takes a character and returns its phonetic name. See NATO.pm as an example.
http://en.wikipedia.org/wiki/Spelling_alphabet is a brief overview
http://www.bckelk.uklinux.net/phon.full.html contains a list of phonetic alphabets from all over the world!
Please tell the author if you find any!
This software is released under the same license as Perl itself.
Martin Thurn (email@example.com).