Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Lingua::Alphabet::Phonetic
map ABC's to phonetic alphabets

Lingua::Alphabet::Phonetic - map ABC's to phonetic alphabets


NAME

Lingua::Alphabet::Phonetic - map ABC's to phonetic alphabets


SYNOPSIS


  use Lingua::Alphabet::Phonetic;

  my $oMilSpeaker = new Lingua::Alphabet::Phonetic('NATO');

  my @asMilSpeak = $oMilSpeaker->enunciate('ABC');


DESCRIPTION

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.


METHODS

new
Create an object of this class. See SYNOPSIS above.

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


OTHER ALPHABETS

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.


SEE ALSO

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!


TO-DO

Implement more alphabets.
Investigate how we might handle non-ASCII alphabets. Unicode?


BUGS

Please tell the author if you find any!


AUTHOR

Martin Thurn (mthurn@cpan.org)

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy