What you will find here is a fully functional NATO Phonetic Alphabet translator. I took one minor liberty in the translation table, by adding a 'phonetic' representation for space and newline.
The NATO Phonetic Alphabet was developed in the 1950s to be intelligible (and pronounceable) to all NATO allies in the heat of battle. It replaced other phonetic alphabets, such as the US military "able baker" alphabet.
The NATO Phonetic Alphabet is widely used in business, military, and paramilitary communications throughout Europe and North America. Anyone with a scanner tuned to a police or fire frequency will hear it almost immediately.
This JAPH is fairly straightforward, but was still fun to implement. It exceeds the traditional four line rule of thumb. Sorry; NATO chose long words. ;) Please reply with comments when you figure out the mechanism of action, and if you see ways to improve upon what's here, I'd love to hear.
Enjoy!!!!!
print${@qw{qw{Alpha Bravo Charlie Delta Echo Foxtrot Golf Hotel India +Juliet Kilo Lima Mike November Oscar Papa Quebec Romeo Sierra Tango U +niform Victor Whiskey X-ray Yankee Zulu Zero Wun Two Tree Fower Five +Six Seven Ait Niner Stop Space Re}}=(A..Z,0..9,"."," ","\n");\%qw}{$_ +}for qw{Juliet Uniform Sierra Tango Space Alpha November Oscar Tango +Hotel Echo Romeo Space Papa Echo Romeo Lima Space Hotel Alpha Charlie + Kilo Echo Romeo Stop Re}
Dave
"If I had my life to do over again, I'd be a plumber." -- Albert Einstein
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: NATO Phonetic Alphabet JAPH
by LameNerd (Hermit) on Aug 28, 2003 at 03:32 UTC | |
by Mr. Muskrat (Canon) on Aug 28, 2003 at 13:23 UTC | |
by belg4mit (Prior) on Aug 28, 2003 at 03:45 UTC | |
by davido (Cardinal) on Aug 28, 2003 at 05:24 UTC |