Generate a sentence from a pre defined words
<p>I'm working on a system that generates a password for a user, place a telephonic call, and speaks the password one character at a time. For example, let the password be "BlaBla123"</p>

<p>Now I have this basic words:</p>

<p>"Capitol", "Small", and "as in"</p>

<p>Also, I have this table:</p>

<pre><code>//  Letter | Word     | Code    |
// --------+----------+---------|
//  a      | Alpha    |  97, 65 |
//  b      | Bravo    |  98, 66 |
//  c      | Charlie  |  99, 67 |
//  d      | Delta    | 100, 68 |
//  e      | Echo     | 101, 69 |
//  f      | Foxtrot  | 102, 70 |
//  g      | Golf     | 103, 71 |
//  h      | Hotel    | 104, 72 |
//  i      | India    | 105, 73 |
//  j      | Juliet   | 106, 74 |
//  k      | Kilo     | 107, 75 |
//  l      | Lima     | 108, 76 |
//  m      | Mike     | 109, 77 |
//  n      | November | 110, 78 |
//  o      | Oscar    | 111, 79 |
//  p      | Papa     | 112, 80 |
//  q      | Quebec   | 113, 81 |
//  r      | Romeo    | 114, 82 |
//  s      | Sierra   | 115, 83 |
//  t      | Tango    | 116, 84 |
//  u      | Uniform  | 117, 85 |
//  v      | Victor   | 118, 86 |
//  w      | Whiskey  | 119, 87 |
//  x      | X-ray    | 120, 88 |
//  y      | Yankee   | 121, 89 |
//  z      | Zulu     | 122, 90 |
//  1      | One      | 49      |
//  2      | Two      | 50      |
//  3      | Three    | 51      |
//  4      | Four     | 52      |
//  5      | Five     | 53      |
//  6      | Six      | 54      |
//  7      | Seven    | 55      |
//  8      | Eight    | 56      |
//  9      | Nine     | 57      |
//  0      | Zero     | 48      |
</code></pre>

<p>Now, I seek to make a sentences like:</p>

<p>"Capitol B as in Bravo"
"Small L as in Lima"
"Small A as in Alpha"
"Capitol B as in Bravo"
"Small L as in Lima"
"Small A as in Alpha"
"One"
"Two"
"Three"</p>

<p>Against the supposed password.</p>

<p>Can anyone share a thought or so as to how I store the table in memory and just ForEach a password String and get a sentence for every encountered character?</p>

<p>Thanks.</p>
