<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>17856</integer>
    </number>
    <user>
      <string>PeanutHorst</string>
    </user>
    <title>
      <string>Cleaned up JackaLX' code</string>
    </title>
    <contents>
      <string>(defvar phonetics-hash
  #s(hash-table test equal
		data (&quot;a&quot; &quot;alpha&quot;
		      &quot;b&quot; &quot;bravo&quot;
		      &quot;c&quot; &quot;charlie&quot;
		      &quot;d&quot; &quot;delta&quot;
		      &quot;e&quot; &quot;echo&quot;
		      &quot;f&quot; &quot;foxtrot&quot;
		      &quot;g&quot; &quot;golf&quot;
		      &quot;h&quot; &quot;hotel&quot;
		      &quot;i&quot; &quot;india&quot;
		      &quot;j&quot; &quot;juliet&quot;
		      &quot;k&quot; &quot;kilo&quot;
		      &quot;l&quot; &quot;lima&quot;
		      &quot;m&quot; &quot;mike&quot;
		      &quot;n&quot; &quot;november&quot;
		      &quot;o&quot; &quot;oscar&quot;
		      &quot;p&quot; &quot;papa&quot;
		      &quot;q&quot; &quot;quebec&quot;
		      &quot;r&quot; &quot;romeo&quot;
		      &quot;s&quot; &quot;sierra&quot;
		      &quot;t&quot; &quot;tango&quot;
		      &quot;u&quot; &quot;uniform&quot;
		      &quot;v&quot; &quot;victor&quot;
		      &quot;w&quot; &quot;whiskey&quot;
		      &quot;x&quot; &quot;x-ray&quot;
		      &quot;y&quot; &quot;yankee&quot;
		      &quot;z&quot; &quot;zulu&quot;
		      &quot;.&quot; &quot;stop&quot;
		      &quot;,&quot; &quot;comma&quot;
		      &quot;:&quot; &quot;colon&quot;
		      &quot;;&quot; &quot;semicolon&quot;
		      &quot;!&quot; &quot;exclamation&quot;
		      &quot;?&quot; &quot;question&quot;
		      &quot; &quot; &quot;SPC&quot;
		      &quot;0&quot; &quot;zero&quot;
		      &quot;1&quot; &quot;one&quot;
		      &quot;2&quot; &quot;two&quot;
		      &quot;3&quot; &quot;three&quot;
		      &quot;4&quot; &quot;fower&quot;
		      &quot;5&quot; &quot;fife&quot;
		      &quot;6&quot; &quot;six&quot;
		      &quot;7&quot; &quot;seven&quot;
		      &quot;8&quot; &quot;eight&quot;
		      &quot;9&quot; &quot;niner&quot;))
  &quot;Hash table of phonetic alphabet.&quot;)

(defun phoneticize (string)
  &quot;Return STRING rewritten using the phonetic alphabet.

For example: \&quot;cat\&quot; =&gt; \&quot;charlie alpha tango\&quot;.
It ignores punctuation.&quot;
  (interactive &quot;sString to phoneticize: &quot;)
  (let ((str (string-to-list (downcase string)))
	phonetics)
    (with-temp-buffer
      (while str
	(insert (or (gethash (char-to-string (car str)) phonetics-hash)
		    (char-to-string (car str))) &quot; &quot;)
	(setq str (cdr str)))
      (setq phonetics (buffer-string)))
    (if current-prefix-arg
	(insert phonetics)
      (if (interactive-p)
	  (message &quot;%s&quot; phonetics)
	phonetics))))</string>
    </contents>
    <universal-time>
      <integer>3351318463</integer>
    </universal-time>
    <channel>
      <string>#xemacs</string>
    </channel>
    <colorization-mode>
      <string>Emacs Lisp</string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <null/>
    </is-unicode>
    <deletion-requested>
      <null/>
    </deletion-requested>
    <deletion-requested-email>
      <null/>
    </deletion-requested-email>
    <expiration-time>
      <null/>
    </expiration-time>
  </paste>
</paste-with-annotations>
