The DP_AlphaWords library provides a simple method for converting arbitrary text to a list of words which help to disambiguate spelling. For example the word “CAT” may be translated to “Charlie Alfa Tango”.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
DP_AlphaWords.js
README.md

README.md

DP_AlphaWords

The DP_AlphaWords library provides a simple method for converting arbitrary text to a list of words which help to disambiguate spelling. For example the word "CAT" can be translated to "Charlie Alfa Tango".

This translation is useful when communicating information where spelling is crucial (computer passwords, names, license plate numbers, etc) over the phone or radio. It may also be useful when presenting potentially ambigious information such as randomly generated user names or passwords.

  • The function can output a simple list or can output a verbose script suitable for reading. The verbose output support several formatting options.
  • The function supports most typable english characters and will translate them to their names. For example the character "}" will be translated to "Right Curly Brace".
  • The function supports several alphabet standards.
    • NATO: The NATO phonetic alphabet (used by most international and military agencies). Source.
    • LAPD: The Los Angeles Police Department alphabet (used by most law enforcement and emergency service agencies in the US). Source.
    • Army1916: From the 1916 Signal Book. Source.
    • Army1939: From the 1939 Basic Field Manual FM-24-5 Signal Communications","1939.
    • Army1944: Radio News Vol. 31 No. 2, 1944.
    • RAF1924: 1924-1942. Source.
    • RAF1942: 1942-1943. Source.
    • RAF1943: 1943-1956. Source.
    • Gorey: From "The Gashleycrumb Tinies" by Edward Gorey, 1963. Used with respectful adoration, but without permission.
    • Grover: From "Grover and the Twenty-Six Scoops" by Patricia Thackray featured in "The Sesame Street Bedtime Storybook". Used with fond memory and love, but without permission.

This component requires a JavaScript (ECMAScript) 1.3 (or better) run-time environment and has been tested successfully on Internet Explorer 6+, Firefox 1+ and Opera 9+.

Copyright (c) 1996-2013, The Depressed Press (depressedpress.com)
All rights reserved.
Covered under the BSD Open Source License (included in the code). Full legal information here: http://depressedpress.com/about/source-code-policy/