xref: /webtrees/app/Soundex.php (revision 8e5c6c2ba4eb7d7ceb2fd47ce5836ee05c683440)
1a25f0a04SGreg Roach<?php
2a25f0a04SGreg Roach/**
3a25f0a04SGreg Roach * webtrees: online genealogy
41062a142SGreg Roach * Copyright (C) 2018 webtrees development team
5a25f0a04SGreg Roach * This program is free software: you can redistribute it and/or modify
6a25f0a04SGreg Roach * it under the terms of the GNU General Public License as published by
7a25f0a04SGreg Roach * the Free Software Foundation, either version 3 of the License, or
8a25f0a04SGreg Roach * (at your option) any later version.
9a25f0a04SGreg Roach * This program is distributed in the hope that it will be useful,
10a25f0a04SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
11a25f0a04SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12a25f0a04SGreg Roach * GNU General Public License for more details.
13a25f0a04SGreg Roach * You should have received a copy of the GNU General Public License
14a25f0a04SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
15a25f0a04SGreg Roach */
16e7f56f2aSGreg Roachdeclare(strict_types=1);
17e7f56f2aSGreg Roach
1876692c8bSGreg Roachnamespace Fisharebest\Webtrees;
19a25f0a04SGreg Roach
20a25f0a04SGreg Roach/**
2176692c8bSGreg Roach * Phonetic matching of strings.
22a25f0a04SGreg Roach */
23c1010edaSGreg Roachclass Soundex
24c1010edaSGreg Roach{
25a25f0a04SGreg Roach    /**
2676692c8bSGreg Roach     * Which algorithms are supported.
2776692c8bSGreg Roach     *
28a25f0a04SGreg Roach     * @return string[]
29a25f0a04SGreg Roach     */
308f53f488SRico Sonntag    public static function getAlgorithms(): array
31c1010edaSGreg Roach    {
3213abd6f3SGreg Roach        return [
33bbb76c12SGreg Roach            /* I18N: http://en.wikipedia.org/wiki/Soundex */
34bbb76c12SGreg Roach            'std' => I18N::translate('Russell'),
35bbb76c12SGreg Roach            /* I18N: http://en.wikipedia.org/wiki/Daitch–Mokotoff_Soundex */
36bbb76c12SGreg Roach            'dm'  => I18N::translate('Daitch-Mokotoff'),
3713abd6f3SGreg Roach        ];
38a25f0a04SGreg Roach    }
39a25f0a04SGreg Roach
40a25f0a04SGreg Roach    /**
41a25f0a04SGreg Roach     * Is there a match between two soundex codes?
42a25f0a04SGreg Roach     *
43a25f0a04SGreg Roach     * @param string $soundex1
44a25f0a04SGreg Roach     * @param string $soundex2
45a25f0a04SGreg Roach     *
46cbc1590aSGreg Roach     * @return bool
47a25f0a04SGreg Roach     */
488f53f488SRico Sonntag    public static function compare($soundex1, $soundex2): bool
49c1010edaSGreg Roach    {
50b3fc7c59SGreg Roach        if ($soundex1 !== '' && $soundex2 !== '') {
51b3fc7c59SGreg Roach            return !empty(array_intersect(explode(':', $soundex1), explode(':', $soundex2)));
52a25f0a04SGreg Roach        }
53a25f0a04SGreg Roach
54a25f0a04SGreg Roach        return false;
55a25f0a04SGreg Roach    }
56a25f0a04SGreg Roach
57a25f0a04SGreg Roach    /**
58a25f0a04SGreg Roach     * Generate Russell soundex codes for a given text.
59a25f0a04SGreg Roach     *
60c7ff4153SGreg Roach     * @param string $text
61a25f0a04SGreg Roach     *
62c7ff4153SGreg Roach     * @return string
63a25f0a04SGreg Roach     */
64c7ff4153SGreg Roach    public static function russell(string $text): string
65c1010edaSGreg Roach    {
66*8e5c6c2bSGreg Roach        $words         = explode(' ', $text);
6713abd6f3SGreg Roach        $soundex_array = [];
68*8e5c6c2bSGreg Roach
69a25f0a04SGreg Roach        foreach ($words as $word) {
70a25f0a04SGreg Roach            $soundex = soundex($word);
71*8e5c6c2bSGreg Roach
72a25f0a04SGreg Roach            // Only return codes from recognisable sounds
73a25f0a04SGreg Roach            if ($soundex !== '0000') {
74a25f0a04SGreg Roach                $soundex_array[] = $soundex;
75a25f0a04SGreg Roach            }
76a25f0a04SGreg Roach        }
77*8e5c6c2bSGreg Roach
78a25f0a04SGreg Roach        // Combine words, e.g. “New York” as “Newyork”
79a25f0a04SGreg Roach        if (count($words) > 1) {
80a25f0a04SGreg Roach            $soundex_array[] = soundex(strtr($text, ' ', ''));
81a25f0a04SGreg Roach        }
82*8e5c6c2bSGreg Roach
83a25f0a04SGreg Roach        // A varchar(255) column can only hold 51 4-character codes (plus 50 delimiters)
84a25f0a04SGreg Roach        $soundex_array = array_slice(array_unique($soundex_array), 0, 51);
85a25f0a04SGreg Roach
86a25f0a04SGreg Roach        return implode(':', $soundex_array);
87a25f0a04SGreg Roach    }
88b2ce94c6SRico Sonntag
89a25f0a04SGreg Roach    /**
90a25f0a04SGreg Roach     * Generate Daitch–Mokotoff soundex codes for a given text.
91a25f0a04SGreg Roach     *
92c7ff4153SGreg Roach     * @param string $text
93a25f0a04SGreg Roach     *
94b3fc7c59SGreg Roach     * @return string
95a25f0a04SGreg Roach     */
96c7ff4153SGreg Roach    public static function daitchMokotoff(string $text): string
97c1010edaSGreg Roach    {
98*8e5c6c2bSGreg Roach        $words         = explode(' ', $text);
9913abd6f3SGreg Roach        $soundex_array = [];
100*8e5c6c2bSGreg Roach
101a25f0a04SGreg Roach        foreach ($words as $word) {
102a25f0a04SGreg Roach            $soundex_array = array_merge($soundex_array, self::daitchMokotoffWord($word));
103a25f0a04SGreg Roach        }
104a25f0a04SGreg Roach        // Combine words, e.g. “New York” as “Newyork”
105a25f0a04SGreg Roach        if (count($words) > 1) {
106a25f0a04SGreg Roach            $soundex_array = array_merge($soundex_array, self::daitchMokotoffWord(strtr($text, ' ', '')));
107a25f0a04SGreg Roach        }
108*8e5c6c2bSGreg Roach
109a25f0a04SGreg Roach        // A varchar(255) column can only hold 36 6-character codes (plus 35 delimiters)
110a25f0a04SGreg Roach        $soundex_array = array_slice(array_unique($soundex_array), 0, 36);
111a25f0a04SGreg Roach
112a25f0a04SGreg Roach        return implode(':', $soundex_array);
113a25f0a04SGreg Roach    }
114b2ce94c6SRico Sonntag
115a25f0a04SGreg Roach    // Determine the Daitch–Mokotoff Soundex code for a word
116a25f0a04SGreg Roach    // Original implementation by Gerry Kroll, and analysis by Meliza Amity
117a25f0a04SGreg Roach
118a25f0a04SGreg Roach    // Max. table key length (in ASCII bytes -- NOT in UTF-8 characters!)
119a25f0a04SGreg Roach    const MAXCHAR = 7;
120a25f0a04SGreg Roach
121a25f0a04SGreg Roach    /**
122a25f0a04SGreg Roach     * Name transformation arrays.
123a25f0a04SGreg Roach     * Used to transform the Name string to simplify the "sounds like" table.
124a25f0a04SGreg Roach     * This is especially useful in Hebrew.
125a25f0a04SGreg Roach     *
126a25f0a04SGreg Roach     * Each array entry defines the "from" and "to" arguments of an preg($from, $to, $text)
127a25f0a04SGreg Roach     * function call to achieve the desired transformations.
128a25f0a04SGreg Roach     *
129a25f0a04SGreg Roach     * Note about the use of "\x01":
130a25f0a04SGreg Roach     * This code, which can’t legitimately occur in the kind of text we're dealing with,
131a25f0a04SGreg Roach     * is used as a place-holder so that conditional string replacements can be done.
132a25f0a04SGreg Roach     *
133a25f0a04SGreg Roach     * @var string[][]
134a25f0a04SGreg Roach     */
13513abd6f3SGreg Roach    private static $transformNameTable = [
136a25f0a04SGreg Roach        // Force Yiddish ligatures to be treated as separate letters
137c1010edaSGreg Roach        [
138c1010edaSGreg Roach            'װ',
139c1010edaSGreg Roach            'וו',
140c1010edaSGreg Roach        ],
141c1010edaSGreg Roach        [
142c1010edaSGreg Roach            'ײ',
143c1010edaSGreg Roach            'יי',
144c1010edaSGreg Roach        ],
145c1010edaSGreg Roach        [
146c1010edaSGreg Roach            'ױ',
147c1010edaSGreg Roach            'וי',
148c1010edaSGreg Roach        ],
149c1010edaSGreg Roach        [
150c1010edaSGreg Roach            'בו',
151c1010edaSGreg Roach            'בע',
152c1010edaSGreg Roach        ],
153c1010edaSGreg Roach        [
154c1010edaSGreg Roach            'פו',
155c1010edaSGreg Roach            'פע',
156c1010edaSGreg Roach        ],
157c1010edaSGreg Roach        [
158c1010edaSGreg Roach            'ומ',
159c1010edaSGreg Roach            'עמ',
160c1010edaSGreg Roach        ],
161c1010edaSGreg Roach        [
162c1010edaSGreg Roach            'ום',
163c1010edaSGreg Roach            'עם',
164c1010edaSGreg Roach        ],
165c1010edaSGreg Roach        [
166c1010edaSGreg Roach            'ונ',
167c1010edaSGreg Roach            'ענ',
168c1010edaSGreg Roach        ],
169c1010edaSGreg Roach        [
170c1010edaSGreg Roach            'ון',
171c1010edaSGreg Roach            'ען',
172c1010edaSGreg Roach        ],
173c1010edaSGreg Roach        [
174c1010edaSGreg Roach            'וו',
175c1010edaSGreg Roach            'ב',
176c1010edaSGreg Roach        ],
177c1010edaSGreg Roach        [
178c1010edaSGreg Roach            "\x01",
179c1010edaSGreg Roach            '',
180c1010edaSGreg Roach        ],
181c1010edaSGreg Roach        [
182c1010edaSGreg Roach            'ייה$',
183c1010edaSGreg Roach            "\x01ה",
184c1010edaSGreg Roach        ],
185c1010edaSGreg Roach        [
186c1010edaSGreg Roach            'ייע$',
187c1010edaSGreg Roach            "\x01ע",
188c1010edaSGreg Roach        ],
189c1010edaSGreg Roach        [
190c1010edaSGreg Roach            'יי',
191c1010edaSGreg Roach            'ע',
192c1010edaSGreg Roach        ],
193c1010edaSGreg Roach        [
194c1010edaSGreg Roach            "\x01",
195c1010edaSGreg Roach            'יי',
196c1010edaSGreg Roach        ],
19713abd6f3SGreg Roach    ];
198a25f0a04SGreg Roach
199a25f0a04SGreg Roach    /**
200a25f0a04SGreg Roach     * The DM sound coding table is organized this way:
201a25f0a04SGreg Roach     * key: a variable-length string that corresponds to the UTF-8 character sequence
202a25f0a04SGreg Roach     * represented by the table entry. Currently, that string can be up to 7
203a25f0a04SGreg Roach     * bytes long. This maximum length is defined by the value of global variable
204a25f0a04SGreg Roach     * $maxchar.
205a25f0a04SGreg Roach     *
206a25f0a04SGreg Roach     * value: an array as follows:
207a25f0a04SGreg Roach     * [0]:  zero if not a vowel
208a25f0a04SGreg Roach     * [1]:  sound value when this string is at the beginning of the word
209a25f0a04SGreg Roach     * [2]:  sound value when this string is followed by a vowel
210a25f0a04SGreg Roach     * [3]:  sound value for other cases
211a25f0a04SGreg Roach     * [1],[2],[3] can be repeated several times to create branches in the code
212a25f0a04SGreg Roach     * an empty sound value means "ignore in this state"
213a25f0a04SGreg Roach     *
214a25f0a04SGreg Roach     * @var string[][]
215a25f0a04SGreg Roach     */
21613abd6f3SGreg Roach    private static $dmsounds = [
217c1010edaSGreg Roach        'A'       => [
218c1010edaSGreg Roach            '1',
219c1010edaSGreg Roach            '0',
220c1010edaSGreg Roach            '',
221c1010edaSGreg Roach            '',
222c1010edaSGreg Roach        ],
223c1010edaSGreg Roach        'À'       => [
224c1010edaSGreg Roach            '1',
225c1010edaSGreg Roach            '0',
226c1010edaSGreg Roach            '',
227c1010edaSGreg Roach            '',
228c1010edaSGreg Roach        ],
229c1010edaSGreg Roach        'Á'       => [
230c1010edaSGreg Roach            '1',
231c1010edaSGreg Roach            '0',
232c1010edaSGreg Roach            '',
233c1010edaSGreg Roach            '',
234c1010edaSGreg Roach        ],
235c1010edaSGreg Roach        'Â'       => [
236c1010edaSGreg Roach            '1',
237c1010edaSGreg Roach            '0',
238c1010edaSGreg Roach            '',
239c1010edaSGreg Roach            '',
240c1010edaSGreg Roach        ],
241c1010edaSGreg Roach        'Ã'       => [
242c1010edaSGreg Roach            '1',
243c1010edaSGreg Roach            '0',
244c1010edaSGreg Roach            '',
245c1010edaSGreg Roach            '',
246c1010edaSGreg Roach        ],
247c1010edaSGreg Roach        'Ä'       => [
248c1010edaSGreg Roach            '1',
249c1010edaSGreg Roach            '0',
250c1010edaSGreg Roach            '1',
251c1010edaSGreg Roach            '',
252c1010edaSGreg Roach            '0',
253c1010edaSGreg Roach            '',
254c1010edaSGreg Roach            '',
255c1010edaSGreg Roach        ],
256c1010edaSGreg Roach        'Å'       => [
257c1010edaSGreg Roach            '1',
258c1010edaSGreg Roach            '0',
259c1010edaSGreg Roach            '',
260c1010edaSGreg Roach            '',
261c1010edaSGreg Roach        ],
262c1010edaSGreg Roach        'Ă'       => [
263c1010edaSGreg Roach            '1',
264c1010edaSGreg Roach            '0',
265c1010edaSGreg Roach            '',
266c1010edaSGreg Roach            '',
267c1010edaSGreg Roach        ],
268c1010edaSGreg Roach        'Ą'       => [
269c1010edaSGreg Roach            '1',
270c1010edaSGreg Roach            '',
271c1010edaSGreg Roach            '',
272c1010edaSGreg Roach            '',
273c1010edaSGreg Roach            '',
274c1010edaSGreg Roach            '',
275c1010edaSGreg Roach            '6',
276c1010edaSGreg Roach        ],
277c1010edaSGreg Roach        'Ạ'       => [
278c1010edaSGreg Roach            '1',
279c1010edaSGreg Roach            '0',
280c1010edaSGreg Roach            '',
281c1010edaSGreg Roach            '',
282c1010edaSGreg Roach        ],
283c1010edaSGreg Roach        'Ả'       => [
284c1010edaSGreg Roach            '1',
285c1010edaSGreg Roach            '0',
286c1010edaSGreg Roach            '',
287c1010edaSGreg Roach            '',
288c1010edaSGreg Roach        ],
289c1010edaSGreg Roach        'Ấ'       => [
290c1010edaSGreg Roach            '1',
291c1010edaSGreg Roach            '0',
292c1010edaSGreg Roach            '',
293c1010edaSGreg Roach            '',
294c1010edaSGreg Roach        ],
295c1010edaSGreg Roach        'Ầ'       => [
296c1010edaSGreg Roach            '1',
297c1010edaSGreg Roach            '0',
298c1010edaSGreg Roach            '',
299c1010edaSGreg Roach            '',
300c1010edaSGreg Roach        ],
301c1010edaSGreg Roach        'Ẩ'       => [
302c1010edaSGreg Roach            '1',
303c1010edaSGreg Roach            '0',
304c1010edaSGreg Roach            '',
305c1010edaSGreg Roach            '',
306c1010edaSGreg Roach        ],
307c1010edaSGreg Roach        'Ẫ'       => [
308c1010edaSGreg Roach            '1',
309c1010edaSGreg Roach            '0',
310c1010edaSGreg Roach            '',
311c1010edaSGreg Roach            '',
312c1010edaSGreg Roach        ],
313c1010edaSGreg Roach        'Ậ'       => [
314c1010edaSGreg Roach            '1',
315c1010edaSGreg Roach            '0',
316c1010edaSGreg Roach            '',
317c1010edaSGreg Roach            '',
318c1010edaSGreg Roach        ],
319c1010edaSGreg Roach        'Ắ'       => [
320c1010edaSGreg Roach            '1',
321c1010edaSGreg Roach            '0',
322c1010edaSGreg Roach            '',
323c1010edaSGreg Roach            '',
324c1010edaSGreg Roach        ],
325c1010edaSGreg Roach        'Ằ'       => [
326c1010edaSGreg Roach            '1',
327c1010edaSGreg Roach            '0',
328c1010edaSGreg Roach            '',
329c1010edaSGreg Roach            '',
330c1010edaSGreg Roach        ],
331c1010edaSGreg Roach        'Ẳ'       => [
332c1010edaSGreg Roach            '1',
333c1010edaSGreg Roach            '0',
334c1010edaSGreg Roach            '',
335c1010edaSGreg Roach            '',
336c1010edaSGreg Roach        ],
337c1010edaSGreg Roach        'Ẵ'       => [
338c1010edaSGreg Roach            '1',
339c1010edaSGreg Roach            '0',
340c1010edaSGreg Roach            '',
341c1010edaSGreg Roach            '',
342c1010edaSGreg Roach        ],
343c1010edaSGreg Roach        'Ặ'       => [
344c1010edaSGreg Roach            '1',
345c1010edaSGreg Roach            '0',
346c1010edaSGreg Roach            '',
347c1010edaSGreg Roach            '',
348c1010edaSGreg Roach        ],
349c1010edaSGreg Roach        'AE'      => [
350c1010edaSGreg Roach            '1',
351c1010edaSGreg Roach            '0',
352c1010edaSGreg Roach            '1',
353c1010edaSGreg Roach            '',
354c1010edaSGreg Roach        ],
355c1010edaSGreg Roach        'Æ'       => [
356c1010edaSGreg Roach            '1',
357c1010edaSGreg Roach            '0',
358c1010edaSGreg Roach            '1',
359c1010edaSGreg Roach            '',
360c1010edaSGreg Roach        ],
361c1010edaSGreg Roach        'AI'      => [
362c1010edaSGreg Roach            '1',
363c1010edaSGreg Roach            '0',
364c1010edaSGreg Roach            '1',
365c1010edaSGreg Roach            '',
366c1010edaSGreg Roach        ],
367c1010edaSGreg Roach        'AJ'      => [
368c1010edaSGreg Roach            '1',
369c1010edaSGreg Roach            '0',
370c1010edaSGreg Roach            '1',
371c1010edaSGreg Roach            '',
372c1010edaSGreg Roach        ],
373c1010edaSGreg Roach        'AU'      => [
374c1010edaSGreg Roach            '1',
375c1010edaSGreg Roach            '0',
376c1010edaSGreg Roach            '7',
377c1010edaSGreg Roach            '',
378c1010edaSGreg Roach        ],
379c1010edaSGreg Roach        'AV'      => [
380c1010edaSGreg Roach            '1',
381c1010edaSGreg Roach            '0',
382c1010edaSGreg Roach            '7',
383c1010edaSGreg Roach            '',
384c1010edaSGreg Roach            '7',
385c1010edaSGreg Roach            '7',
386c1010edaSGreg Roach            '7',
387c1010edaSGreg Roach        ],
388c1010edaSGreg Roach        'ÄU'      => [
389c1010edaSGreg Roach            '1',
390c1010edaSGreg Roach            '0',
391c1010edaSGreg Roach            '1',
392c1010edaSGreg Roach            '',
393c1010edaSGreg Roach        ],
394c1010edaSGreg Roach        'AY'      => [
395c1010edaSGreg Roach            '1',
396c1010edaSGreg Roach            '0',
397c1010edaSGreg Roach            '1',
398c1010edaSGreg Roach            '',
399c1010edaSGreg Roach        ],
400c1010edaSGreg Roach        'B'       => [
401c1010edaSGreg Roach            '0',
402c1010edaSGreg Roach            '7',
403c1010edaSGreg Roach            '7',
404c1010edaSGreg Roach            '7',
405c1010edaSGreg Roach        ],
406c1010edaSGreg Roach        'C'       => [
407c1010edaSGreg Roach            '0',
408c1010edaSGreg Roach            '5',
409c1010edaSGreg Roach            '5',
410c1010edaSGreg Roach            '5',
411c1010edaSGreg Roach            '34',
412c1010edaSGreg Roach            '4',
413c1010edaSGreg Roach            '4',
414c1010edaSGreg Roach        ],
415c1010edaSGreg Roach        'Ć'       => [
416c1010edaSGreg Roach            '0',
417c1010edaSGreg Roach            '4',
418c1010edaSGreg Roach            '4',
419c1010edaSGreg Roach            '4',
420c1010edaSGreg Roach        ],
421c1010edaSGreg Roach        'Č'       => [
422c1010edaSGreg Roach            '0',
423c1010edaSGreg Roach            '4',
424c1010edaSGreg Roach            '4',
425c1010edaSGreg Roach            '4',
426c1010edaSGreg Roach        ],
427c1010edaSGreg Roach        'Ç'       => [
428c1010edaSGreg Roach            '0',
429c1010edaSGreg Roach            '4',
430c1010edaSGreg Roach            '4',
431c1010edaSGreg Roach            '4',
432c1010edaSGreg Roach        ],
433c1010edaSGreg Roach        'CH'      => [
434c1010edaSGreg Roach            '0',
435c1010edaSGreg Roach            '5',
436c1010edaSGreg Roach            '5',
437c1010edaSGreg Roach            '5',
438c1010edaSGreg Roach            '34',
439c1010edaSGreg Roach            '4',
440c1010edaSGreg Roach            '4',
441c1010edaSGreg Roach        ],
442c1010edaSGreg Roach        'CHS'     => [
443c1010edaSGreg Roach            '0',
444c1010edaSGreg Roach            '5',
445c1010edaSGreg Roach            '54',
446c1010edaSGreg Roach            '54',
447c1010edaSGreg Roach        ],
448c1010edaSGreg Roach        'CK'      => [
449c1010edaSGreg Roach            '0',
450c1010edaSGreg Roach            '5',
451c1010edaSGreg Roach            '5',
452c1010edaSGreg Roach            '5',
453c1010edaSGreg Roach            '45',
454c1010edaSGreg Roach            '45',
455c1010edaSGreg Roach            '45',
456c1010edaSGreg Roach        ],
457c1010edaSGreg Roach        'CCS'     => [
458c1010edaSGreg Roach            '0',
459c1010edaSGreg Roach            '4',
460c1010edaSGreg Roach            '4',
461c1010edaSGreg Roach            '4',
462c1010edaSGreg Roach        ],
463c1010edaSGreg Roach        'CS'      => [
464c1010edaSGreg Roach            '0',
465c1010edaSGreg Roach            '4',
466c1010edaSGreg Roach            '4',
467c1010edaSGreg Roach            '4',
468c1010edaSGreg Roach        ],
469c1010edaSGreg Roach        'CSZ'     => [
470c1010edaSGreg Roach            '0',
471c1010edaSGreg Roach            '4',
472c1010edaSGreg Roach            '4',
473c1010edaSGreg Roach            '4',
474c1010edaSGreg Roach        ],
475c1010edaSGreg Roach        'CZ'      => [
476c1010edaSGreg Roach            '0',
477c1010edaSGreg Roach            '4',
478c1010edaSGreg Roach            '4',
479c1010edaSGreg Roach            '4',
480c1010edaSGreg Roach        ],
481c1010edaSGreg Roach        'CZS'     => [
482c1010edaSGreg Roach            '0',
483c1010edaSGreg Roach            '4',
484c1010edaSGreg Roach            '4',
485c1010edaSGreg Roach            '4',
486c1010edaSGreg Roach        ],
487c1010edaSGreg Roach        'D'       => [
488c1010edaSGreg Roach            '0',
489c1010edaSGreg Roach            '3',
490c1010edaSGreg Roach            '3',
491c1010edaSGreg Roach            '3',
492c1010edaSGreg Roach        ],
493c1010edaSGreg Roach        'Ď'       => [
494c1010edaSGreg Roach            '0',
495c1010edaSGreg Roach            '3',
496c1010edaSGreg Roach            '3',
497c1010edaSGreg Roach            '3',
498c1010edaSGreg Roach        ],
499c1010edaSGreg Roach        'Đ'       => [
500c1010edaSGreg Roach            '0',
501c1010edaSGreg Roach            '3',
502c1010edaSGreg Roach            '3',
503c1010edaSGreg Roach            '3',
504c1010edaSGreg Roach        ],
505c1010edaSGreg Roach        'DRS'     => [
506c1010edaSGreg Roach            '0',
507c1010edaSGreg Roach            '4',
508c1010edaSGreg Roach            '4',
509c1010edaSGreg Roach            '4',
510c1010edaSGreg Roach        ],
511c1010edaSGreg Roach        'DRZ'     => [
512c1010edaSGreg Roach            '0',
513c1010edaSGreg Roach            '4',
514c1010edaSGreg Roach            '4',
515c1010edaSGreg Roach            '4',
516c1010edaSGreg Roach        ],
517c1010edaSGreg Roach        'DS'      => [
518c1010edaSGreg Roach            '0',
519c1010edaSGreg Roach            '4',
520c1010edaSGreg Roach            '4',
521c1010edaSGreg Roach            '4',
522c1010edaSGreg Roach        ],
523c1010edaSGreg Roach        'DSH'     => [
524c1010edaSGreg Roach            '0',
525c1010edaSGreg Roach            '4',
526c1010edaSGreg Roach            '4',
527c1010edaSGreg Roach            '4',
528c1010edaSGreg Roach        ],
529c1010edaSGreg Roach        'DSZ'     => [
530c1010edaSGreg Roach            '0',
531c1010edaSGreg Roach            '4',
532c1010edaSGreg Roach            '4',
533c1010edaSGreg Roach            '4',
534c1010edaSGreg Roach        ],
535c1010edaSGreg Roach        'DT'      => [
536c1010edaSGreg Roach            '0',
537c1010edaSGreg Roach            '3',
538c1010edaSGreg Roach            '3',
539c1010edaSGreg Roach            '3',
540c1010edaSGreg Roach        ],
541c1010edaSGreg Roach        'DDZ'     => [
542c1010edaSGreg Roach            '0',
543c1010edaSGreg Roach            '4',
544c1010edaSGreg Roach            '4',
545c1010edaSGreg Roach            '4',
546c1010edaSGreg Roach        ],
547c1010edaSGreg Roach        'DDZS'    => [
548c1010edaSGreg Roach            '0',
549c1010edaSGreg Roach            '4',
550c1010edaSGreg Roach            '4',
551c1010edaSGreg Roach            '4',
552c1010edaSGreg Roach        ],
553c1010edaSGreg Roach        'DZ'      => [
554c1010edaSGreg Roach            '0',
555c1010edaSGreg Roach            '4',
556c1010edaSGreg Roach            '4',
557c1010edaSGreg Roach            '4',
558c1010edaSGreg Roach        ],
559c1010edaSGreg Roach        'DŹ'      => [
560c1010edaSGreg Roach            '0',
561c1010edaSGreg Roach            '4',
562c1010edaSGreg Roach            '4',
563c1010edaSGreg Roach            '4',
564c1010edaSGreg Roach        ],
565c1010edaSGreg Roach        'DŻ'      => [
566c1010edaSGreg Roach            '0',
567c1010edaSGreg Roach            '4',
568c1010edaSGreg Roach            '4',
569c1010edaSGreg Roach            '4',
570c1010edaSGreg Roach        ],
571c1010edaSGreg Roach        'DZH'     => [
572c1010edaSGreg Roach            '0',
573c1010edaSGreg Roach            '4',
574c1010edaSGreg Roach            '4',
575c1010edaSGreg Roach            '4',
576c1010edaSGreg Roach        ],
577c1010edaSGreg Roach        'DZS'     => [
578c1010edaSGreg Roach            '0',
579c1010edaSGreg Roach            '4',
580c1010edaSGreg Roach            '4',
581c1010edaSGreg Roach            '4',
582c1010edaSGreg Roach        ],
583c1010edaSGreg Roach        'E'       => [
584c1010edaSGreg Roach            '1',
585c1010edaSGreg Roach            '0',
586c1010edaSGreg Roach            '',
587c1010edaSGreg Roach            '',
588c1010edaSGreg Roach        ],
589c1010edaSGreg Roach        'È'       => [
590c1010edaSGreg Roach            '1',
591c1010edaSGreg Roach            '0',
592c1010edaSGreg Roach            '',
593c1010edaSGreg Roach            '',
594c1010edaSGreg Roach        ],
595c1010edaSGreg Roach        'É'       => [
596c1010edaSGreg Roach            '1',
597c1010edaSGreg Roach            '0',
598c1010edaSGreg Roach            '',
599c1010edaSGreg Roach            '',
600c1010edaSGreg Roach        ],
601c1010edaSGreg Roach        'Ê'       => [
602c1010edaSGreg Roach            '1',
603c1010edaSGreg Roach            '0',
604c1010edaSGreg Roach            '',
605c1010edaSGreg Roach            '',
606c1010edaSGreg Roach        ],
607c1010edaSGreg Roach        'Ë'       => [
608c1010edaSGreg Roach            '1',
609c1010edaSGreg Roach            '0',
610c1010edaSGreg Roach            '',
611c1010edaSGreg Roach            '',
612c1010edaSGreg Roach        ],
613c1010edaSGreg Roach        'Ĕ'       => [
614c1010edaSGreg Roach            '1',
615c1010edaSGreg Roach            '0',
616c1010edaSGreg Roach            '',
617c1010edaSGreg Roach            '',
618c1010edaSGreg Roach        ],
619c1010edaSGreg Roach        'Ė'       => [
620c1010edaSGreg Roach            '1',
621c1010edaSGreg Roach            '0',
622c1010edaSGreg Roach            '',
623c1010edaSGreg Roach            '',
624c1010edaSGreg Roach        ],
625c1010edaSGreg Roach        'Ę'       => [
626c1010edaSGreg Roach            '1',
627c1010edaSGreg Roach            '',
628c1010edaSGreg Roach            '',
629c1010edaSGreg Roach            '6',
630c1010edaSGreg Roach            '',
631c1010edaSGreg Roach            '',
632c1010edaSGreg Roach            '',
633c1010edaSGreg Roach        ],
634c1010edaSGreg Roach        'Ẹ'       => [
635c1010edaSGreg Roach            '1',
636c1010edaSGreg Roach            '0',
637c1010edaSGreg Roach            '',
638c1010edaSGreg Roach            '',
639c1010edaSGreg Roach        ],
640c1010edaSGreg Roach        'Ẻ'       => [
641c1010edaSGreg Roach            '1',
642c1010edaSGreg Roach            '0',
643c1010edaSGreg Roach            '',
644c1010edaSGreg Roach            '',
645c1010edaSGreg Roach        ],
646c1010edaSGreg Roach        'Ẽ'       => [
647c1010edaSGreg Roach            '1',
648c1010edaSGreg Roach            '0',
649c1010edaSGreg Roach            '',
650c1010edaSGreg Roach            '',
651c1010edaSGreg Roach        ],
652c1010edaSGreg Roach        'Ế'       => [
653c1010edaSGreg Roach            '1',
654c1010edaSGreg Roach            '0',
655c1010edaSGreg Roach            '',
656c1010edaSGreg Roach            '',
657c1010edaSGreg Roach        ],
658c1010edaSGreg Roach        'Ề'       => [
659c1010edaSGreg Roach            '1',
660c1010edaSGreg Roach            '0',
661c1010edaSGreg Roach            '',
662c1010edaSGreg Roach            '',
663c1010edaSGreg Roach        ],
664c1010edaSGreg Roach        'Ể'       => [
665c1010edaSGreg Roach            '1',
666c1010edaSGreg Roach            '0',
667c1010edaSGreg Roach            '',
668c1010edaSGreg Roach            '',
669c1010edaSGreg Roach        ],
670c1010edaSGreg Roach        'Ễ'       => [
671c1010edaSGreg Roach            '1',
672c1010edaSGreg Roach            '0',
673c1010edaSGreg Roach            '',
674c1010edaSGreg Roach            '',
675c1010edaSGreg Roach        ],
676c1010edaSGreg Roach        'Ệ'       => [
677c1010edaSGreg Roach            '1',
678c1010edaSGreg Roach            '0',
679c1010edaSGreg Roach            '',
680c1010edaSGreg Roach            '',
681c1010edaSGreg Roach        ],
682c1010edaSGreg Roach        'EAU'     => [
683c1010edaSGreg Roach            '1',
684c1010edaSGreg Roach            '0',
685c1010edaSGreg Roach            '',
686c1010edaSGreg Roach            '',
687c1010edaSGreg Roach        ],
688c1010edaSGreg Roach        'EI'      => [
689c1010edaSGreg Roach            '1',
690c1010edaSGreg Roach            '0',
691c1010edaSGreg Roach            '1',
692c1010edaSGreg Roach            '',
693c1010edaSGreg Roach        ],
694c1010edaSGreg Roach        'EJ'      => [
695c1010edaSGreg Roach            '1',
696c1010edaSGreg Roach            '0',
697c1010edaSGreg Roach            '1',
698c1010edaSGreg Roach            '',
699c1010edaSGreg Roach        ],
700c1010edaSGreg Roach        'EU'      => [
701c1010edaSGreg Roach            '1',
702c1010edaSGreg Roach            '1',
703c1010edaSGreg Roach            '1',
704c1010edaSGreg Roach            '',
705c1010edaSGreg Roach        ],
706c1010edaSGreg Roach        'EY'      => [
707c1010edaSGreg Roach            '1',
708c1010edaSGreg Roach            '0',
709c1010edaSGreg Roach            '1',
710c1010edaSGreg Roach            '',
711c1010edaSGreg Roach        ],
712c1010edaSGreg Roach        'F'       => [
713c1010edaSGreg Roach            '0',
714c1010edaSGreg Roach            '7',
715c1010edaSGreg Roach            '7',
716c1010edaSGreg Roach            '7',
717c1010edaSGreg Roach        ],
718c1010edaSGreg Roach        'FB'      => [
719c1010edaSGreg Roach            '0',
720c1010edaSGreg Roach            '7',
721c1010edaSGreg Roach            '7',
722c1010edaSGreg Roach            '7',
723c1010edaSGreg Roach        ],
724c1010edaSGreg Roach        'G'       => [
725c1010edaSGreg Roach            '0',
726c1010edaSGreg Roach            '5',
727c1010edaSGreg Roach            '5',
728c1010edaSGreg Roach            '5',
729c1010edaSGreg Roach            '34',
730c1010edaSGreg Roach            '4',
731c1010edaSGreg Roach            '4',
732c1010edaSGreg Roach        ],
733c1010edaSGreg Roach        'Ğ'       => [
734c1010edaSGreg Roach            '0',
735c1010edaSGreg Roach            '',
736c1010edaSGreg Roach            '',
737c1010edaSGreg Roach            '',
738c1010edaSGreg Roach        ],
739c1010edaSGreg Roach        'GGY'     => [
740c1010edaSGreg Roach            '0',
741c1010edaSGreg Roach            '5',
742c1010edaSGreg Roach            '5',
743c1010edaSGreg Roach            '5',
744c1010edaSGreg Roach        ],
745c1010edaSGreg Roach        'GY'      => [
746c1010edaSGreg Roach            '0',
747c1010edaSGreg Roach            '5',
748c1010edaSGreg Roach            '5',
749c1010edaSGreg Roach            '5',
750c1010edaSGreg Roach        ],
751c1010edaSGreg Roach        'H'       => [
752c1010edaSGreg Roach            '0',
753c1010edaSGreg Roach            '5',
754c1010edaSGreg Roach            '5',
755c1010edaSGreg Roach            '',
756c1010edaSGreg Roach            '5',
757c1010edaSGreg Roach            '5',
758c1010edaSGreg Roach            '5',
759c1010edaSGreg Roach        ],
760c1010edaSGreg Roach        'I'       => [
761c1010edaSGreg Roach            '1',
762c1010edaSGreg Roach            '0',
763c1010edaSGreg Roach            '',
764c1010edaSGreg Roach            '',
765c1010edaSGreg Roach        ],
766c1010edaSGreg Roach        'Ì'       => [
767c1010edaSGreg Roach            '1',
768c1010edaSGreg Roach            '0',
769c1010edaSGreg Roach            '',
770c1010edaSGreg Roach            '',
771c1010edaSGreg Roach        ],
772c1010edaSGreg Roach        'Í'       => [
773c1010edaSGreg Roach            '1',
774c1010edaSGreg Roach            '0',
775c1010edaSGreg Roach            '',
776c1010edaSGreg Roach            '',
777c1010edaSGreg Roach        ],
778c1010edaSGreg Roach        'Î'       => [
779c1010edaSGreg Roach            '1',
780c1010edaSGreg Roach            '0',
781c1010edaSGreg Roach            '',
782c1010edaSGreg Roach            '',
783c1010edaSGreg Roach        ],
784c1010edaSGreg Roach        'Ï'       => [
785c1010edaSGreg Roach            '1',
786c1010edaSGreg Roach            '0',
787c1010edaSGreg Roach            '',
788c1010edaSGreg Roach            '',
789c1010edaSGreg Roach        ],
790c1010edaSGreg Roach        'Ĩ'       => [
791c1010edaSGreg Roach            '1',
792c1010edaSGreg Roach            '0',
793c1010edaSGreg Roach            '',
794c1010edaSGreg Roach            '',
795c1010edaSGreg Roach        ],
796c1010edaSGreg Roach        'Į'       => [
797c1010edaSGreg Roach            '1',
798c1010edaSGreg Roach            '0',
799c1010edaSGreg Roach            '',
800c1010edaSGreg Roach            '',
801c1010edaSGreg Roach        ],
802c1010edaSGreg Roach        'İ'       => [
803c1010edaSGreg Roach            '1',
804c1010edaSGreg Roach            '0',
805c1010edaSGreg Roach            '',
806c1010edaSGreg Roach            '',
807c1010edaSGreg Roach        ],
808c1010edaSGreg Roach        'Ỉ'       => [
809c1010edaSGreg Roach            '1',
810c1010edaSGreg Roach            '0',
811c1010edaSGreg Roach            '',
812c1010edaSGreg Roach            '',
813c1010edaSGreg Roach        ],
814c1010edaSGreg Roach        'Ị'       => [
815c1010edaSGreg Roach            '1',
816c1010edaSGreg Roach            '0',
817c1010edaSGreg Roach            '',
818c1010edaSGreg Roach            '',
819c1010edaSGreg Roach        ],
820c1010edaSGreg Roach        'IA'      => [
821c1010edaSGreg Roach            '1',
822c1010edaSGreg Roach            '1',
823c1010edaSGreg Roach            '',
824c1010edaSGreg Roach            '',
825c1010edaSGreg Roach        ],
826c1010edaSGreg Roach        'IE'      => [
827c1010edaSGreg Roach            '1',
828c1010edaSGreg Roach            '1',
829c1010edaSGreg Roach            '',
830c1010edaSGreg Roach            '',
831c1010edaSGreg Roach        ],
832c1010edaSGreg Roach        'IO'      => [
833c1010edaSGreg Roach            '1',
834c1010edaSGreg Roach            '1',
835c1010edaSGreg Roach            '',
836c1010edaSGreg Roach            '',
837c1010edaSGreg Roach        ],
838c1010edaSGreg Roach        'IU'      => [
839c1010edaSGreg Roach            '1',
840c1010edaSGreg Roach            '1',
841c1010edaSGreg Roach            '',
842c1010edaSGreg Roach            '',
843c1010edaSGreg Roach        ],
844c1010edaSGreg Roach        'J'       => [
845c1010edaSGreg Roach            '0',
846c1010edaSGreg Roach            '1',
847c1010edaSGreg Roach            '',
848c1010edaSGreg Roach            '',
849c1010edaSGreg Roach            '4',
850c1010edaSGreg Roach            '4',
851c1010edaSGreg Roach            '4',
852c1010edaSGreg Roach            '5',
853c1010edaSGreg Roach            '5',
854c1010edaSGreg Roach            '',
855c1010edaSGreg Roach        ],
856c1010edaSGreg Roach        'K'       => [
857c1010edaSGreg Roach            '0',
858c1010edaSGreg Roach            '5',
859c1010edaSGreg Roach            '5',
860c1010edaSGreg Roach            '5',
861c1010edaSGreg Roach        ],
862c1010edaSGreg Roach        'KH'      => [
863c1010edaSGreg Roach            '0',
864c1010edaSGreg Roach            '5',
865c1010edaSGreg Roach            '5',
866c1010edaSGreg Roach            '5',
867c1010edaSGreg Roach        ],
868c1010edaSGreg Roach        'KS'      => [
869c1010edaSGreg Roach            '0',
870c1010edaSGreg Roach            '5',
871c1010edaSGreg Roach            '54',
872c1010edaSGreg Roach            '54',
873c1010edaSGreg Roach        ],
874c1010edaSGreg Roach        'L'       => [
875c1010edaSGreg Roach            '0',
876c1010edaSGreg Roach            '8',
877c1010edaSGreg Roach            '8',
878c1010edaSGreg Roach            '8',
879c1010edaSGreg Roach        ],
880c1010edaSGreg Roach        'Ľ'       => [
881c1010edaSGreg Roach            '0',
882c1010edaSGreg Roach            '8',
883c1010edaSGreg Roach            '8',
884c1010edaSGreg Roach            '8',
885c1010edaSGreg Roach        ],
886c1010edaSGreg Roach        'Ĺ'       => [
887c1010edaSGreg Roach            '0',
888c1010edaSGreg Roach            '8',
889c1010edaSGreg Roach            '8',
890c1010edaSGreg Roach            '8',
891c1010edaSGreg Roach        ],
892c1010edaSGreg Roach        'Ł'       => [
893c1010edaSGreg Roach            '0',
894c1010edaSGreg Roach            '7',
895c1010edaSGreg Roach            '7',
896c1010edaSGreg Roach            '7',
897c1010edaSGreg Roach            '8',
898c1010edaSGreg Roach            '8',
899c1010edaSGreg Roach            '8',
900c1010edaSGreg Roach        ],
901c1010edaSGreg Roach        'LL'      => [
902c1010edaSGreg Roach            '0',
903c1010edaSGreg Roach            '8',
904c1010edaSGreg Roach            '8',
905c1010edaSGreg Roach            '8',
906c1010edaSGreg Roach            '58',
907c1010edaSGreg Roach            '8',
908c1010edaSGreg Roach            '8',
909c1010edaSGreg Roach            '1',
910c1010edaSGreg Roach            '8',
911c1010edaSGreg Roach            '8',
912c1010edaSGreg Roach        ],
913c1010edaSGreg Roach        'LLY'     => [
914c1010edaSGreg Roach            '0',
915c1010edaSGreg Roach            '8',
916c1010edaSGreg Roach            '8',
917c1010edaSGreg Roach            '8',
918c1010edaSGreg Roach            '1',
919c1010edaSGreg Roach            '8',
920c1010edaSGreg Roach            '8',
921c1010edaSGreg Roach        ],
922c1010edaSGreg Roach        'LY'      => [
923c1010edaSGreg Roach            '0',
924c1010edaSGreg Roach            '8',
925c1010edaSGreg Roach            '8',
926c1010edaSGreg Roach            '8',
927c1010edaSGreg Roach            '1',
928c1010edaSGreg Roach            '8',
929c1010edaSGreg Roach            '8',
930c1010edaSGreg Roach        ],
931c1010edaSGreg Roach        'M'       => [
932c1010edaSGreg Roach            '0',
933c1010edaSGreg Roach            '6',
934c1010edaSGreg Roach            '6',
935c1010edaSGreg Roach            '6',
936c1010edaSGreg Roach        ],
937c1010edaSGreg Roach        'MĔ'      => [
938c1010edaSGreg Roach            '0',
939c1010edaSGreg Roach            '66',
940c1010edaSGreg Roach            '66',
941c1010edaSGreg Roach            '66',
942c1010edaSGreg Roach        ],
943c1010edaSGreg Roach        'MN'      => [
944c1010edaSGreg Roach            '0',
945c1010edaSGreg Roach            '66',
946c1010edaSGreg Roach            '66',
947c1010edaSGreg Roach            '66',
948c1010edaSGreg Roach        ],
949c1010edaSGreg Roach        'N'       => [
950c1010edaSGreg Roach            '0',
951c1010edaSGreg Roach            '6',
952c1010edaSGreg Roach            '6',
953c1010edaSGreg Roach            '6',
954c1010edaSGreg Roach        ],
955c1010edaSGreg Roach        'Ń'       => [
956c1010edaSGreg Roach            '0',
957c1010edaSGreg Roach            '6',
958c1010edaSGreg Roach            '6',
959c1010edaSGreg Roach            '6',
960c1010edaSGreg Roach        ],
961c1010edaSGreg Roach        'Ň'       => [
962c1010edaSGreg Roach            '0',
963c1010edaSGreg Roach            '6',
964c1010edaSGreg Roach            '6',
965c1010edaSGreg Roach            '6',
966c1010edaSGreg Roach        ],
967c1010edaSGreg Roach        'Ñ'       => [
968c1010edaSGreg Roach            '0',
969c1010edaSGreg Roach            '6',
970c1010edaSGreg Roach            '6',
971c1010edaSGreg Roach            '6',
972c1010edaSGreg Roach        ],
973c1010edaSGreg Roach        'NM'      => [
974c1010edaSGreg Roach            '0',
975c1010edaSGreg Roach            '66',
976c1010edaSGreg Roach            '66',
977c1010edaSGreg Roach            '66',
978c1010edaSGreg Roach        ],
979c1010edaSGreg Roach        'O'       => [
980c1010edaSGreg Roach            '1',
981c1010edaSGreg Roach            '0',
982c1010edaSGreg Roach            '',
983c1010edaSGreg Roach            '',
984c1010edaSGreg Roach        ],
985c1010edaSGreg Roach        'Ò'       => [
986c1010edaSGreg Roach            '1',
987c1010edaSGreg Roach            '0',
988c1010edaSGreg Roach            '',
989c1010edaSGreg Roach            '',
990c1010edaSGreg Roach        ],
991c1010edaSGreg Roach        'Ó'       => [
992c1010edaSGreg Roach            '1',
993c1010edaSGreg Roach            '0',
994c1010edaSGreg Roach            '',
995c1010edaSGreg Roach            '',
996c1010edaSGreg Roach        ],
997c1010edaSGreg Roach        'Ô'       => [
998c1010edaSGreg Roach            '1',
999c1010edaSGreg Roach            '0',
1000c1010edaSGreg Roach            '',
1001c1010edaSGreg Roach            '',
1002c1010edaSGreg Roach        ],
1003c1010edaSGreg Roach        'Õ'       => [
1004c1010edaSGreg Roach            '1',
1005c1010edaSGreg Roach            '0',
1006c1010edaSGreg Roach            '',
1007c1010edaSGreg Roach            '',
1008c1010edaSGreg Roach        ],
1009c1010edaSGreg Roach        'Ö'       => [
1010c1010edaSGreg Roach            '1',
1011c1010edaSGreg Roach            '0',
1012c1010edaSGreg Roach            '',
1013c1010edaSGreg Roach            '',
1014c1010edaSGreg Roach        ],
1015c1010edaSGreg Roach        'Ø'       => [
1016c1010edaSGreg Roach            '1',
1017c1010edaSGreg Roach            '0',
1018c1010edaSGreg Roach            '',
1019c1010edaSGreg Roach            '',
1020c1010edaSGreg Roach        ],
1021c1010edaSGreg Roach        'Ő'       => [
1022c1010edaSGreg Roach            '1',
1023c1010edaSGreg Roach            '0',
1024c1010edaSGreg Roach            '',
1025c1010edaSGreg Roach            '',
1026c1010edaSGreg Roach        ],
1027c1010edaSGreg Roach        'Œ'       => [
1028c1010edaSGreg Roach            '1',
1029c1010edaSGreg Roach            '0',
1030c1010edaSGreg Roach            '',
1031c1010edaSGreg Roach            '',
1032c1010edaSGreg Roach        ],
1033c1010edaSGreg Roach        'Ơ'       => [
1034c1010edaSGreg Roach            '1',
1035c1010edaSGreg Roach            '0',
1036c1010edaSGreg Roach            '',
1037c1010edaSGreg Roach            '',
1038c1010edaSGreg Roach        ],
1039c1010edaSGreg Roach        'Ọ'       => [
1040c1010edaSGreg Roach            '1',
1041c1010edaSGreg Roach            '0',
1042c1010edaSGreg Roach            '',
1043c1010edaSGreg Roach            '',
1044c1010edaSGreg Roach        ],
1045c1010edaSGreg Roach        'Ỏ'       => [
1046c1010edaSGreg Roach            '1',
1047c1010edaSGreg Roach            '0',
1048c1010edaSGreg Roach            '',
1049c1010edaSGreg Roach            '',
1050c1010edaSGreg Roach        ],
1051c1010edaSGreg Roach        'Ố'       => [
1052c1010edaSGreg Roach            '1',
1053c1010edaSGreg Roach            '0',
1054c1010edaSGreg Roach            '',
1055c1010edaSGreg Roach            '',
1056c1010edaSGreg Roach        ],
1057c1010edaSGreg Roach        'Ồ'       => [
1058c1010edaSGreg Roach            '1',
1059c1010edaSGreg Roach            '0',
1060c1010edaSGreg Roach            '',
1061c1010edaSGreg Roach            '',
1062c1010edaSGreg Roach        ],
1063c1010edaSGreg Roach        'Ổ'       => [
1064c1010edaSGreg Roach            '1',
1065c1010edaSGreg Roach            '0',
1066c1010edaSGreg Roach            '',
1067c1010edaSGreg Roach            '',
1068c1010edaSGreg Roach        ],
1069c1010edaSGreg Roach        'Ỗ'       => [
1070c1010edaSGreg Roach            '1',
1071c1010edaSGreg Roach            '0',
1072c1010edaSGreg Roach            '',
1073c1010edaSGreg Roach            '',
1074c1010edaSGreg Roach        ],
1075c1010edaSGreg Roach        'Ộ'       => [
1076c1010edaSGreg Roach            '1',
1077c1010edaSGreg Roach            '0',
1078c1010edaSGreg Roach            '',
1079c1010edaSGreg Roach            '',
1080c1010edaSGreg Roach        ],
1081c1010edaSGreg Roach        'Ớ'       => [
1082c1010edaSGreg Roach            '1',
1083c1010edaSGreg Roach            '0',
1084c1010edaSGreg Roach            '',
1085c1010edaSGreg Roach            '',
1086c1010edaSGreg Roach        ],
1087c1010edaSGreg Roach        'Ờ'       => [
1088c1010edaSGreg Roach            '1',
1089c1010edaSGreg Roach            '0',
1090c1010edaSGreg Roach            '',
1091c1010edaSGreg Roach            '',
1092c1010edaSGreg Roach        ],
1093c1010edaSGreg Roach        'Ở'       => [
1094c1010edaSGreg Roach            '1',
1095c1010edaSGreg Roach            '0',
1096c1010edaSGreg Roach            '',
1097c1010edaSGreg Roach            '',
1098c1010edaSGreg Roach        ],
1099c1010edaSGreg Roach        'Ỡ'       => [
1100c1010edaSGreg Roach            '1',
1101c1010edaSGreg Roach            '0',
1102c1010edaSGreg Roach            '',
1103c1010edaSGreg Roach            '',
1104c1010edaSGreg Roach        ],
1105c1010edaSGreg Roach        'Ợ'       => [
1106c1010edaSGreg Roach            '1',
1107c1010edaSGreg Roach            '0',
1108c1010edaSGreg Roach            '',
1109c1010edaSGreg Roach            '',
1110c1010edaSGreg Roach        ],
1111c1010edaSGreg Roach        'OE'      => [
1112c1010edaSGreg Roach            '1',
1113c1010edaSGreg Roach            '0',
1114c1010edaSGreg Roach            '',
1115c1010edaSGreg Roach            '',
1116c1010edaSGreg Roach        ],
1117c1010edaSGreg Roach        'OI'      => [
1118c1010edaSGreg Roach            '1',
1119c1010edaSGreg Roach            '0',
1120c1010edaSGreg Roach            '1',
1121c1010edaSGreg Roach            '',
1122c1010edaSGreg Roach        ],
1123c1010edaSGreg Roach        'OJ'      => [
1124c1010edaSGreg Roach            '1',
1125c1010edaSGreg Roach            '0',
1126c1010edaSGreg Roach            '1',
1127c1010edaSGreg Roach            '',
1128c1010edaSGreg Roach        ],
1129c1010edaSGreg Roach        'OU'      => [
1130c1010edaSGreg Roach            '1',
1131c1010edaSGreg Roach            '0',
1132c1010edaSGreg Roach            '',
1133c1010edaSGreg Roach            '',
1134c1010edaSGreg Roach        ],
1135c1010edaSGreg Roach        'OY'      => [
1136c1010edaSGreg Roach            '1',
1137c1010edaSGreg Roach            '0',
1138c1010edaSGreg Roach            '1',
1139c1010edaSGreg Roach            '',
1140c1010edaSGreg Roach        ],
1141c1010edaSGreg Roach        'P'       => [
1142c1010edaSGreg Roach            '0',
1143c1010edaSGreg Roach            '7',
1144c1010edaSGreg Roach            '7',
1145c1010edaSGreg Roach            '7',
1146c1010edaSGreg Roach        ],
1147c1010edaSGreg Roach        'PF'      => [
1148c1010edaSGreg Roach            '0',
1149c1010edaSGreg Roach            '7',
1150c1010edaSGreg Roach            '7',
1151c1010edaSGreg Roach            '7',
1152c1010edaSGreg Roach        ],
1153c1010edaSGreg Roach        'PH'      => [
1154c1010edaSGreg Roach            '0',
1155c1010edaSGreg Roach            '7',
1156c1010edaSGreg Roach            '7',
1157c1010edaSGreg Roach            '7',
1158c1010edaSGreg Roach        ],
1159c1010edaSGreg Roach        'Q'       => [
1160c1010edaSGreg Roach            '0',
1161c1010edaSGreg Roach            '5',
1162c1010edaSGreg Roach            '5',
1163c1010edaSGreg Roach            '5',
1164c1010edaSGreg Roach        ],
1165c1010edaSGreg Roach        'R'       => [
1166c1010edaSGreg Roach            '0',
1167c1010edaSGreg Roach            '9',
1168c1010edaSGreg Roach            '9',
1169c1010edaSGreg Roach            '9',
1170c1010edaSGreg Roach        ],
1171c1010edaSGreg Roach        'Ř'       => [
1172c1010edaSGreg Roach            '0',
1173c1010edaSGreg Roach            '4',
1174c1010edaSGreg Roach            '4',
1175c1010edaSGreg Roach            '4',
1176c1010edaSGreg Roach        ],
1177c1010edaSGreg Roach        'RS'      => [
1178c1010edaSGreg Roach            '0',
1179c1010edaSGreg Roach            '4',
1180c1010edaSGreg Roach            '4',
1181c1010edaSGreg Roach            '4',
1182c1010edaSGreg Roach            '94',
1183c1010edaSGreg Roach            '94',
1184c1010edaSGreg Roach            '94',
1185c1010edaSGreg Roach        ],
1186c1010edaSGreg Roach        'RZ'      => [
1187c1010edaSGreg Roach            '0',
1188c1010edaSGreg Roach            '4',
1189c1010edaSGreg Roach            '4',
1190c1010edaSGreg Roach            '4',
1191c1010edaSGreg Roach            '94',
1192c1010edaSGreg Roach            '94',
1193c1010edaSGreg Roach            '94',
1194c1010edaSGreg Roach        ],
1195c1010edaSGreg Roach        'S'       => [
1196c1010edaSGreg Roach            '0',
1197c1010edaSGreg Roach            '4',
1198c1010edaSGreg Roach            '4',
1199c1010edaSGreg Roach            '4',
1200c1010edaSGreg Roach        ],
1201c1010edaSGreg Roach        'Ś'       => [
1202c1010edaSGreg Roach            '0',
1203c1010edaSGreg Roach            '4',
1204c1010edaSGreg Roach            '4',
1205c1010edaSGreg Roach            '4',
1206c1010edaSGreg Roach        ],
1207c1010edaSGreg Roach        'Š'       => [
1208c1010edaSGreg Roach            '0',
1209c1010edaSGreg Roach            '4',
1210c1010edaSGreg Roach            '4',
1211c1010edaSGreg Roach            '4',
1212c1010edaSGreg Roach        ],
1213c1010edaSGreg Roach        'Ş'       => [
1214c1010edaSGreg Roach            '0',
1215c1010edaSGreg Roach            '4',
1216c1010edaSGreg Roach            '4',
1217c1010edaSGreg Roach            '4',
1218c1010edaSGreg Roach        ],
1219c1010edaSGreg Roach        'SC'      => [
1220c1010edaSGreg Roach            '0',
1221c1010edaSGreg Roach            '2',
1222c1010edaSGreg Roach            '4',
1223c1010edaSGreg Roach            '4',
1224c1010edaSGreg Roach        ],
1225c1010edaSGreg Roach        'ŠČ'      => [
1226c1010edaSGreg Roach            '0',
1227c1010edaSGreg Roach            '2',
1228c1010edaSGreg Roach            '4',
1229c1010edaSGreg Roach            '4',
1230c1010edaSGreg Roach        ],
1231c1010edaSGreg Roach        'SCH'     => [
1232c1010edaSGreg Roach            '0',
1233c1010edaSGreg Roach            '4',
1234c1010edaSGreg Roach            '4',
1235c1010edaSGreg Roach            '4',
1236c1010edaSGreg Roach        ],
1237c1010edaSGreg Roach        'SCHD'    => [
1238c1010edaSGreg Roach            '0',
1239c1010edaSGreg Roach            '2',
1240c1010edaSGreg Roach            '43',
1241c1010edaSGreg Roach            '43',
1242c1010edaSGreg Roach        ],
1243c1010edaSGreg Roach        'SCHT'    => [
1244c1010edaSGreg Roach            '0',
1245c1010edaSGreg Roach            '2',
1246c1010edaSGreg Roach            '43',
1247c1010edaSGreg Roach            '43',
1248c1010edaSGreg Roach        ],
1249c1010edaSGreg Roach        'SCHTCH'  => [
1250c1010edaSGreg Roach            '0',
1251c1010edaSGreg Roach            '2',
1252c1010edaSGreg Roach            '4',
1253c1010edaSGreg Roach            '4',
1254c1010edaSGreg Roach        ],
1255c1010edaSGreg Roach        'SCHTSCH' => [
1256c1010edaSGreg Roach            '0',
1257c1010edaSGreg Roach            '2',
1258c1010edaSGreg Roach            '4',
1259c1010edaSGreg Roach            '4',
1260c1010edaSGreg Roach        ],
1261c1010edaSGreg Roach        'SCHTSH'  => [
1262c1010edaSGreg Roach            '0',
1263c1010edaSGreg Roach            '2',
1264c1010edaSGreg Roach            '4',
1265c1010edaSGreg Roach            '4',
1266c1010edaSGreg Roach        ],
1267c1010edaSGreg Roach        'SD'      => [
1268c1010edaSGreg Roach            '0',
1269c1010edaSGreg Roach            '2',
1270c1010edaSGreg Roach            '43',
1271c1010edaSGreg Roach            '43',
1272c1010edaSGreg Roach        ],
1273c1010edaSGreg Roach        'SH'      => [
1274c1010edaSGreg Roach            '0',
1275c1010edaSGreg Roach            '4',
1276c1010edaSGreg Roach            '4',
1277c1010edaSGreg Roach            '4',
1278c1010edaSGreg Roach        ],
1279c1010edaSGreg Roach        'SHCH'    => [
1280c1010edaSGreg Roach            '0',
1281c1010edaSGreg Roach            '2',
1282c1010edaSGreg Roach            '4',
1283c1010edaSGreg Roach            '4',
1284c1010edaSGreg Roach        ],
1285c1010edaSGreg Roach        'SHD'     => [
1286c1010edaSGreg Roach            '0',
1287c1010edaSGreg Roach            '2',
1288c1010edaSGreg Roach            '43',
1289c1010edaSGreg Roach            '43',
1290c1010edaSGreg Roach        ],
1291c1010edaSGreg Roach        'SHT'     => [
1292c1010edaSGreg Roach            '0',
1293c1010edaSGreg Roach            '2',
1294c1010edaSGreg Roach            '43',
1295c1010edaSGreg Roach            '43',
1296c1010edaSGreg Roach        ],
1297c1010edaSGreg Roach        'SHTCH'   => [
1298c1010edaSGreg Roach            '0',
1299c1010edaSGreg Roach            '2',
1300c1010edaSGreg Roach            '4',
1301c1010edaSGreg Roach            '4',
1302c1010edaSGreg Roach        ],
1303c1010edaSGreg Roach        'SHTSH'   => [
1304c1010edaSGreg Roach            '0',
1305c1010edaSGreg Roach            '2',
1306c1010edaSGreg Roach            '4',
1307c1010edaSGreg Roach            '4',
1308c1010edaSGreg Roach        ],
1309c1010edaSGreg Roach        'ß'       => [
1310c1010edaSGreg Roach            '0',
1311c1010edaSGreg Roach            '',
1312c1010edaSGreg Roach            '4',
1313c1010edaSGreg Roach            '4',
1314c1010edaSGreg Roach        ],
1315c1010edaSGreg Roach        'ST'      => [
1316c1010edaSGreg Roach            '0',
1317c1010edaSGreg Roach            '2',
1318c1010edaSGreg Roach            '43',
1319c1010edaSGreg Roach            '43',
1320c1010edaSGreg Roach        ],
1321c1010edaSGreg Roach        'STCH'    => [
1322c1010edaSGreg Roach            '0',
1323c1010edaSGreg Roach            '2',
1324c1010edaSGreg Roach            '4',
1325c1010edaSGreg Roach            '4',
1326c1010edaSGreg Roach        ],
1327c1010edaSGreg Roach        'STRS'    => [
1328c1010edaSGreg Roach            '0',
1329c1010edaSGreg Roach            '2',
1330c1010edaSGreg Roach            '4',
1331c1010edaSGreg Roach            '4',
1332c1010edaSGreg Roach        ],
1333c1010edaSGreg Roach        'STRZ'    => [
1334c1010edaSGreg Roach            '0',
1335c1010edaSGreg Roach            '2',
1336c1010edaSGreg Roach            '4',
1337c1010edaSGreg Roach            '4',
1338c1010edaSGreg Roach        ],
1339c1010edaSGreg Roach        'STSCH'   => [
1340c1010edaSGreg Roach            '0',
1341c1010edaSGreg Roach            '2',
1342c1010edaSGreg Roach            '4',
1343c1010edaSGreg Roach            '4',
1344c1010edaSGreg Roach        ],
1345c1010edaSGreg Roach        'STSH'    => [
1346c1010edaSGreg Roach            '0',
1347c1010edaSGreg Roach            '2',
1348c1010edaSGreg Roach            '4',
1349c1010edaSGreg Roach            '4',
1350c1010edaSGreg Roach        ],
1351c1010edaSGreg Roach        'SSZ'     => [
1352c1010edaSGreg Roach            '0',
1353c1010edaSGreg Roach            '4',
1354c1010edaSGreg Roach            '4',
1355c1010edaSGreg Roach            '4',
1356c1010edaSGreg Roach        ],
1357c1010edaSGreg Roach        'SZ'      => [
1358c1010edaSGreg Roach            '0',
1359c1010edaSGreg Roach            '4',
1360c1010edaSGreg Roach            '4',
1361c1010edaSGreg Roach            '4',
1362c1010edaSGreg Roach        ],
1363c1010edaSGreg Roach        'SZCS'    => [
1364c1010edaSGreg Roach            '0',
1365c1010edaSGreg Roach            '2',
1366c1010edaSGreg Roach            '4',
1367c1010edaSGreg Roach            '4',
1368c1010edaSGreg Roach        ],
1369c1010edaSGreg Roach        'SZCZ'    => [
1370c1010edaSGreg Roach            '0',
1371c1010edaSGreg Roach            '2',
1372c1010edaSGreg Roach            '4',
1373c1010edaSGreg Roach            '4',
1374c1010edaSGreg Roach        ],
1375c1010edaSGreg Roach        'SZD'     => [
1376c1010edaSGreg Roach            '0',
1377c1010edaSGreg Roach            '2',
1378c1010edaSGreg Roach            '43',
1379c1010edaSGreg Roach            '43',
1380c1010edaSGreg Roach        ],
1381c1010edaSGreg Roach        'SZT'     => [
1382c1010edaSGreg Roach            '0',
1383c1010edaSGreg Roach            '2',
1384c1010edaSGreg Roach            '43',
1385c1010edaSGreg Roach            '43',
1386c1010edaSGreg Roach        ],
1387c1010edaSGreg Roach        'T'       => [
1388c1010edaSGreg Roach            '0',
1389c1010edaSGreg Roach            '3',
1390c1010edaSGreg Roach            '3',
1391c1010edaSGreg Roach            '3',
1392c1010edaSGreg Roach        ],
1393c1010edaSGreg Roach        'Ť'       => [
1394c1010edaSGreg Roach            '0',
1395c1010edaSGreg Roach            '3',
1396c1010edaSGreg Roach            '3',
1397c1010edaSGreg Roach            '3',
1398c1010edaSGreg Roach        ],
1399c1010edaSGreg Roach        'Ţ'       => [
1400c1010edaSGreg Roach            '0',
1401c1010edaSGreg Roach            '3',
1402c1010edaSGreg Roach            '3',
1403c1010edaSGreg Roach            '3',
1404c1010edaSGreg Roach            '4',
1405c1010edaSGreg Roach            '4',
1406c1010edaSGreg Roach            '4',
1407c1010edaSGreg Roach        ],
1408c1010edaSGreg Roach        'TC'      => [
1409c1010edaSGreg Roach            '0',
1410c1010edaSGreg Roach            '4',
1411c1010edaSGreg Roach            '4',
1412c1010edaSGreg Roach            '4',
1413c1010edaSGreg Roach        ],
1414c1010edaSGreg Roach        'TCH'     => [
1415c1010edaSGreg Roach            '0',
1416c1010edaSGreg Roach            '4',
1417c1010edaSGreg Roach            '4',
1418c1010edaSGreg Roach            '4',
1419c1010edaSGreg Roach        ],
1420c1010edaSGreg Roach        'TH'      => [
1421c1010edaSGreg Roach            '0',
1422c1010edaSGreg Roach            '3',
1423c1010edaSGreg Roach            '3',
1424c1010edaSGreg Roach            '3',
1425c1010edaSGreg Roach        ],
1426c1010edaSGreg Roach        'TRS'     => [
1427c1010edaSGreg Roach            '0',
1428c1010edaSGreg Roach            '4',
1429c1010edaSGreg Roach            '4',
1430c1010edaSGreg Roach            '4',
1431c1010edaSGreg Roach        ],
1432c1010edaSGreg Roach        'TRZ'     => [
1433c1010edaSGreg Roach            '0',
1434c1010edaSGreg Roach            '4',
1435c1010edaSGreg Roach            '4',
1436c1010edaSGreg Roach            '4',
1437c1010edaSGreg Roach        ],
1438c1010edaSGreg Roach        'TS'      => [
1439c1010edaSGreg Roach            '0',
1440c1010edaSGreg Roach            '4',
1441c1010edaSGreg Roach            '4',
1442c1010edaSGreg Roach            '4',
1443c1010edaSGreg Roach        ],
1444c1010edaSGreg Roach        'TSCH'    => [
1445c1010edaSGreg Roach            '0',
1446c1010edaSGreg Roach            '4',
1447c1010edaSGreg Roach            '4',
1448c1010edaSGreg Roach            '4',
1449c1010edaSGreg Roach        ],
1450c1010edaSGreg Roach        'TSH'     => [
1451c1010edaSGreg Roach            '0',
1452c1010edaSGreg Roach            '4',
1453c1010edaSGreg Roach            '4',
1454c1010edaSGreg Roach            '4',
1455c1010edaSGreg Roach        ],
1456c1010edaSGreg Roach        'TSZ'     => [
1457c1010edaSGreg Roach            '0',
1458c1010edaSGreg Roach            '4',
1459c1010edaSGreg Roach            '4',
1460c1010edaSGreg Roach            '4',
1461c1010edaSGreg Roach        ],
1462c1010edaSGreg Roach        'TTCH'    => [
1463c1010edaSGreg Roach            '0',
1464c1010edaSGreg Roach            '4',
1465c1010edaSGreg Roach            '4',
1466c1010edaSGreg Roach            '4',
1467c1010edaSGreg Roach        ],
1468c1010edaSGreg Roach        'TTS'     => [
1469c1010edaSGreg Roach            '0',
1470c1010edaSGreg Roach            '4',
1471c1010edaSGreg Roach            '4',
1472c1010edaSGreg Roach            '4',
1473c1010edaSGreg Roach        ],
1474c1010edaSGreg Roach        'TTSCH'   => [
1475c1010edaSGreg Roach            '0',
1476c1010edaSGreg Roach            '4',
1477c1010edaSGreg Roach            '4',
1478c1010edaSGreg Roach            '4',
1479c1010edaSGreg Roach        ],
1480c1010edaSGreg Roach        'TTSZ'    => [
1481c1010edaSGreg Roach            '0',
1482c1010edaSGreg Roach            '4',
1483c1010edaSGreg Roach            '4',
1484c1010edaSGreg Roach            '4',
1485c1010edaSGreg Roach        ],
1486c1010edaSGreg Roach        'TTZ'     => [
1487c1010edaSGreg Roach            '0',
1488c1010edaSGreg Roach            '4',
1489c1010edaSGreg Roach            '4',
1490c1010edaSGreg Roach            '4',
1491c1010edaSGreg Roach        ],
1492c1010edaSGreg Roach        'TZ'      => [
1493c1010edaSGreg Roach            '0',
1494c1010edaSGreg Roach            '4',
1495c1010edaSGreg Roach            '4',
1496c1010edaSGreg Roach            '4',
1497c1010edaSGreg Roach        ],
1498c1010edaSGreg Roach        'TZS'     => [
1499c1010edaSGreg Roach            '0',
1500c1010edaSGreg Roach            '4',
1501c1010edaSGreg Roach            '4',
1502c1010edaSGreg Roach            '4',
1503c1010edaSGreg Roach        ],
1504c1010edaSGreg Roach        'U'       => [
1505c1010edaSGreg Roach            '1',
1506c1010edaSGreg Roach            '0',
1507c1010edaSGreg Roach            '',
1508c1010edaSGreg Roach            '',
1509c1010edaSGreg Roach        ],
1510c1010edaSGreg Roach        'Ù'       => [
1511c1010edaSGreg Roach            '1',
1512c1010edaSGreg Roach            '0',
1513c1010edaSGreg Roach            '',
1514c1010edaSGreg Roach            '',
1515c1010edaSGreg Roach        ],
1516c1010edaSGreg Roach        'Ú'       => [
1517c1010edaSGreg Roach            '1',
1518c1010edaSGreg Roach            '0',
1519c1010edaSGreg Roach            '',
1520c1010edaSGreg Roach            '',
1521c1010edaSGreg Roach        ],
1522c1010edaSGreg Roach        'Û'       => [
1523c1010edaSGreg Roach            '1',
1524c1010edaSGreg Roach            '0',
1525c1010edaSGreg Roach            '',
1526c1010edaSGreg Roach            '',
1527c1010edaSGreg Roach        ],
1528c1010edaSGreg Roach        'Ü'       => [
1529c1010edaSGreg Roach            '1',
1530c1010edaSGreg Roach            '0',
1531c1010edaSGreg Roach            '',
1532c1010edaSGreg Roach            '',
1533c1010edaSGreg Roach        ],
1534c1010edaSGreg Roach        'Ũ'       => [
1535c1010edaSGreg Roach            '1',
1536c1010edaSGreg Roach            '0',
1537c1010edaSGreg Roach            '',
1538c1010edaSGreg Roach            '',
1539c1010edaSGreg Roach        ],
1540c1010edaSGreg Roach        'Ū'       => [
1541c1010edaSGreg Roach            '1',
1542c1010edaSGreg Roach            '0',
1543c1010edaSGreg Roach            '',
1544c1010edaSGreg Roach            '',
1545c1010edaSGreg Roach        ],
1546c1010edaSGreg Roach        'Ů'       => [
1547c1010edaSGreg Roach            '1',
1548c1010edaSGreg Roach            '0',
1549c1010edaSGreg Roach            '',
1550c1010edaSGreg Roach            '',
1551c1010edaSGreg Roach        ],
1552c1010edaSGreg Roach        'Ű'       => [
1553c1010edaSGreg Roach            '1',
1554c1010edaSGreg Roach            '0',
1555c1010edaSGreg Roach            '',
1556c1010edaSGreg Roach            '',
1557c1010edaSGreg Roach        ],
1558c1010edaSGreg Roach        'Ų'       => [
1559c1010edaSGreg Roach            '1',
1560c1010edaSGreg Roach            '0',
1561c1010edaSGreg Roach            '',
1562c1010edaSGreg Roach            '',
1563c1010edaSGreg Roach        ],
1564c1010edaSGreg Roach        'Ư'       => [
1565c1010edaSGreg Roach            '1',
1566c1010edaSGreg Roach            '0',
1567c1010edaSGreg Roach            '',
1568c1010edaSGreg Roach            '',
1569c1010edaSGreg Roach        ],
1570c1010edaSGreg Roach        'Ụ'       => [
1571c1010edaSGreg Roach            '1',
1572c1010edaSGreg Roach            '0',
1573c1010edaSGreg Roach            '',
1574c1010edaSGreg Roach            '',
1575c1010edaSGreg Roach        ],
1576c1010edaSGreg Roach        'Ủ'       => [
1577c1010edaSGreg Roach            '1',
1578c1010edaSGreg Roach            '0',
1579c1010edaSGreg Roach            '',
1580c1010edaSGreg Roach            '',
1581c1010edaSGreg Roach        ],
1582c1010edaSGreg Roach        'Ứ'       => [
1583c1010edaSGreg Roach            '1',
1584c1010edaSGreg Roach            '0',
1585c1010edaSGreg Roach            '',
1586c1010edaSGreg Roach            '',
1587c1010edaSGreg Roach        ],
1588c1010edaSGreg Roach        'Ừ'       => [
1589c1010edaSGreg Roach            '1',
1590c1010edaSGreg Roach            '0',
1591c1010edaSGreg Roach            '',
1592c1010edaSGreg Roach            '',
1593c1010edaSGreg Roach        ],
1594c1010edaSGreg Roach        'Ử'       => [
1595c1010edaSGreg Roach            '1',
1596c1010edaSGreg Roach            '0',
1597c1010edaSGreg Roach            '',
1598c1010edaSGreg Roach            '',
1599c1010edaSGreg Roach        ],
1600c1010edaSGreg Roach        'Ữ'       => [
1601c1010edaSGreg Roach            '1',
1602c1010edaSGreg Roach            '0',
1603c1010edaSGreg Roach            '',
1604c1010edaSGreg Roach            '',
1605c1010edaSGreg Roach        ],
1606c1010edaSGreg Roach        'Ự'       => [
1607c1010edaSGreg Roach            '1',
1608c1010edaSGreg Roach            '0',
1609c1010edaSGreg Roach            '',
1610c1010edaSGreg Roach            '',
1611c1010edaSGreg Roach        ],
1612c1010edaSGreg Roach        'UE'      => [
1613c1010edaSGreg Roach            '1',
1614c1010edaSGreg Roach            '0',
1615c1010edaSGreg Roach            '',
1616c1010edaSGreg Roach            '',
1617c1010edaSGreg Roach        ],
1618c1010edaSGreg Roach        'UI'      => [
1619c1010edaSGreg Roach            '1',
1620c1010edaSGreg Roach            '0',
1621c1010edaSGreg Roach            '1',
1622c1010edaSGreg Roach            '',
1623c1010edaSGreg Roach        ],
1624c1010edaSGreg Roach        'UJ'      => [
1625c1010edaSGreg Roach            '1',
1626c1010edaSGreg Roach            '0',
1627c1010edaSGreg Roach            '1',
1628c1010edaSGreg Roach            '',
1629c1010edaSGreg Roach        ],
1630c1010edaSGreg Roach        'UY'      => [
1631c1010edaSGreg Roach            '1',
1632c1010edaSGreg Roach            '0',
1633c1010edaSGreg Roach            '1',
1634c1010edaSGreg Roach            '',
1635c1010edaSGreg Roach        ],
1636c1010edaSGreg Roach        'UW'      => [
1637c1010edaSGreg Roach            '1',
1638c1010edaSGreg Roach            '0',
1639c1010edaSGreg Roach            '1',
1640c1010edaSGreg Roach            '',
1641c1010edaSGreg Roach            '0',
1642c1010edaSGreg Roach            '7',
1643c1010edaSGreg Roach            '7',
1644c1010edaSGreg Roach        ],
1645c1010edaSGreg Roach        'V'       => [
1646c1010edaSGreg Roach            '0',
1647c1010edaSGreg Roach            '7',
1648c1010edaSGreg Roach            '7',
1649c1010edaSGreg Roach            '7',
1650c1010edaSGreg Roach        ],
1651c1010edaSGreg Roach        'W'       => [
1652c1010edaSGreg Roach            '0',
1653c1010edaSGreg Roach            '7',
1654c1010edaSGreg Roach            '7',
1655c1010edaSGreg Roach            '7',
1656c1010edaSGreg Roach        ],
1657c1010edaSGreg Roach        'X'       => [
1658c1010edaSGreg Roach            '0',
1659c1010edaSGreg Roach            '5',
1660c1010edaSGreg Roach            '54',
1661c1010edaSGreg Roach            '54',
1662c1010edaSGreg Roach        ],
1663c1010edaSGreg Roach        'Y'       => [
1664c1010edaSGreg Roach            '1',
1665c1010edaSGreg Roach            '1',
1666c1010edaSGreg Roach            '',
1667c1010edaSGreg Roach            '',
1668c1010edaSGreg Roach        ],
1669c1010edaSGreg Roach        'Ý'       => [
1670c1010edaSGreg Roach            '1',
1671c1010edaSGreg Roach            '1',
1672c1010edaSGreg Roach            '',
1673c1010edaSGreg Roach            '',
1674c1010edaSGreg Roach        ],
1675c1010edaSGreg Roach        'Ỳ'       => [
1676c1010edaSGreg Roach            '1',
1677c1010edaSGreg Roach            '1',
1678c1010edaSGreg Roach            '',
1679c1010edaSGreg Roach            '',
1680c1010edaSGreg Roach        ],
1681c1010edaSGreg Roach        'Ỵ'       => [
1682c1010edaSGreg Roach            '1',
1683c1010edaSGreg Roach            '1',
1684c1010edaSGreg Roach            '',
1685c1010edaSGreg Roach            '',
1686c1010edaSGreg Roach        ],
1687c1010edaSGreg Roach        'Ỷ'       => [
1688c1010edaSGreg Roach            '1',
1689c1010edaSGreg Roach            '1',
1690c1010edaSGreg Roach            '',
1691c1010edaSGreg Roach            '',
1692c1010edaSGreg Roach        ],
1693c1010edaSGreg Roach        'Ỹ'       => [
1694c1010edaSGreg Roach            '1',
1695c1010edaSGreg Roach            '1',
1696c1010edaSGreg Roach            '',
1697c1010edaSGreg Roach            '',
1698c1010edaSGreg Roach        ],
1699c1010edaSGreg Roach        'Z'       => [
1700c1010edaSGreg Roach            '0',
1701c1010edaSGreg Roach            '4',
1702c1010edaSGreg Roach            '4',
1703c1010edaSGreg Roach            '4',
1704c1010edaSGreg Roach        ],
1705c1010edaSGreg Roach        'Ź'       => [
1706c1010edaSGreg Roach            '0',
1707c1010edaSGreg Roach            '4',
1708c1010edaSGreg Roach            '4',
1709c1010edaSGreg Roach            '4',
1710c1010edaSGreg Roach        ],
1711c1010edaSGreg Roach        'Ż'       => [
1712c1010edaSGreg Roach            '0',
1713c1010edaSGreg Roach            '4',
1714c1010edaSGreg Roach            '4',
1715c1010edaSGreg Roach            '4',
1716c1010edaSGreg Roach        ],
1717c1010edaSGreg Roach        'Ž'       => [
1718c1010edaSGreg Roach            '0',
1719c1010edaSGreg Roach            '4',
1720c1010edaSGreg Roach            '4',
1721c1010edaSGreg Roach            '4',
1722c1010edaSGreg Roach        ],
1723c1010edaSGreg Roach        'ZD'      => [
1724c1010edaSGreg Roach            '0',
1725c1010edaSGreg Roach            '2',
1726c1010edaSGreg Roach            '43',
1727c1010edaSGreg Roach            '43',
1728c1010edaSGreg Roach        ],
1729c1010edaSGreg Roach        'ZDZ'     => [
1730c1010edaSGreg Roach            '0',
1731c1010edaSGreg Roach            '2',
1732c1010edaSGreg Roach            '4',
1733c1010edaSGreg Roach            '4',
1734c1010edaSGreg Roach        ],
1735c1010edaSGreg Roach        'ZDZH'    => [
1736c1010edaSGreg Roach            '0',
1737c1010edaSGreg Roach            '2',
1738c1010edaSGreg Roach            '4',
1739c1010edaSGreg Roach            '4',
1740c1010edaSGreg Roach        ],
1741c1010edaSGreg Roach        'ZH'      => [
1742c1010edaSGreg Roach            '0',
1743c1010edaSGreg Roach            '4',
1744c1010edaSGreg Roach            '4',
1745c1010edaSGreg Roach            '4',
1746c1010edaSGreg Roach        ],
1747c1010edaSGreg Roach        'ZHD'     => [
1748c1010edaSGreg Roach            '0',
1749c1010edaSGreg Roach            '2',
1750c1010edaSGreg Roach            '43',
1751c1010edaSGreg Roach            '43',
1752c1010edaSGreg Roach        ],
1753c1010edaSGreg Roach        'ZHDZH'   => [
1754c1010edaSGreg Roach            '0',
1755c1010edaSGreg Roach            '2',
1756c1010edaSGreg Roach            '4',
1757c1010edaSGreg Roach            '4',
1758c1010edaSGreg Roach        ],
1759c1010edaSGreg Roach        'ZS'      => [
1760c1010edaSGreg Roach            '0',
1761c1010edaSGreg Roach            '4',
1762c1010edaSGreg Roach            '4',
1763c1010edaSGreg Roach            '4',
1764c1010edaSGreg Roach        ],
1765c1010edaSGreg Roach        'ZSCH'    => [
1766c1010edaSGreg Roach            '0',
1767c1010edaSGreg Roach            '4',
1768c1010edaSGreg Roach            '4',
1769c1010edaSGreg Roach            '4',
1770c1010edaSGreg Roach        ],
1771c1010edaSGreg Roach        'ZSH'     => [
1772c1010edaSGreg Roach            '0',
1773c1010edaSGreg Roach            '4',
1774c1010edaSGreg Roach            '4',
1775c1010edaSGreg Roach            '4',
1776c1010edaSGreg Roach        ],
1777c1010edaSGreg Roach        'ZZS'     => [
1778c1010edaSGreg Roach            '0',
1779c1010edaSGreg Roach            '4',
1780c1010edaSGreg Roach            '4',
1781c1010edaSGreg Roach            '4',
1782c1010edaSGreg Roach        ],
1783a25f0a04SGreg Roach        // Cyrillic alphabet
1784c1010edaSGreg Roach        'А'       => [
1785c1010edaSGreg Roach            '1',
1786c1010edaSGreg Roach            '0',
1787c1010edaSGreg Roach            '',
1788c1010edaSGreg Roach            '',
1789c1010edaSGreg Roach        ],
1790c1010edaSGreg Roach        'Б'       => [
1791c1010edaSGreg Roach            '0',
1792c1010edaSGreg Roach            '7',
1793c1010edaSGreg Roach            '7',
1794c1010edaSGreg Roach            '7',
1795c1010edaSGreg Roach        ],
1796c1010edaSGreg Roach        'В'       => [
1797c1010edaSGreg Roach            '0',
1798c1010edaSGreg Roach            '7',
1799c1010edaSGreg Roach            '7',
1800c1010edaSGreg Roach            '7',
1801c1010edaSGreg Roach        ],
1802c1010edaSGreg Roach        'Г'       => [
1803c1010edaSGreg Roach            '0',
1804c1010edaSGreg Roach            '5',
1805c1010edaSGreg Roach            '5',
1806c1010edaSGreg Roach            '5',
1807c1010edaSGreg Roach        ],
1808c1010edaSGreg Roach        'Д'       => [
1809c1010edaSGreg Roach            '0',
1810c1010edaSGreg Roach            '3',
1811c1010edaSGreg Roach            '3',
1812c1010edaSGreg Roach            '3',
1813c1010edaSGreg Roach        ],
1814c1010edaSGreg Roach        'ДЗ'      => [
1815c1010edaSGreg Roach            '0',
1816c1010edaSGreg Roach            '4',
1817c1010edaSGreg Roach            '4',
1818c1010edaSGreg Roach            '4',
1819c1010edaSGreg Roach        ],
1820c1010edaSGreg Roach        'Е'       => [
1821c1010edaSGreg Roach            '1',
1822c1010edaSGreg Roach            '0',
1823c1010edaSGreg Roach            '',
1824c1010edaSGreg Roach            '',
1825c1010edaSGreg Roach        ],
1826c1010edaSGreg Roach        'Ё'       => [
1827c1010edaSGreg Roach            '1',
1828c1010edaSGreg Roach            '0',
1829c1010edaSGreg Roach            '',
1830c1010edaSGreg Roach            '',
1831c1010edaSGreg Roach        ],
1832c1010edaSGreg Roach        'Ж'       => [
1833c1010edaSGreg Roach            '0',
1834c1010edaSGreg Roach            '4',
1835c1010edaSGreg Roach            '4',
1836c1010edaSGreg Roach            '4',
1837c1010edaSGreg Roach        ],
1838c1010edaSGreg Roach        'З'       => [
1839c1010edaSGreg Roach            '0',
1840c1010edaSGreg Roach            '4',
1841c1010edaSGreg Roach            '4',
1842c1010edaSGreg Roach            '4',
1843c1010edaSGreg Roach        ],
1844c1010edaSGreg Roach        'И'       => [
1845c1010edaSGreg Roach            '1',
1846c1010edaSGreg Roach            '0',
1847c1010edaSGreg Roach            '',
1848c1010edaSGreg Roach            '',
1849c1010edaSGreg Roach        ],
1850c1010edaSGreg Roach        'Й'       => [
1851c1010edaSGreg Roach            '1',
1852c1010edaSGreg Roach            '1',
1853c1010edaSGreg Roach            '',
1854c1010edaSGreg Roach            '',
1855c1010edaSGreg Roach            '4',
1856c1010edaSGreg Roach            '4',
1857c1010edaSGreg Roach            '4',
1858c1010edaSGreg Roach        ],
1859c1010edaSGreg Roach        'К'       => [
1860c1010edaSGreg Roach            '0',
1861c1010edaSGreg Roach            '5',
1862c1010edaSGreg Roach            '5',
1863c1010edaSGreg Roach            '5',
1864c1010edaSGreg Roach        ],
1865c1010edaSGreg Roach        'Л'       => [
1866c1010edaSGreg Roach            '0',
1867c1010edaSGreg Roach            '8',
1868c1010edaSGreg Roach            '8',
1869c1010edaSGreg Roach            '8',
1870c1010edaSGreg Roach        ],
1871c1010edaSGreg Roach        'М'       => [
1872c1010edaSGreg Roach            '0',
1873c1010edaSGreg Roach            '6',
1874c1010edaSGreg Roach            '6',
1875c1010edaSGreg Roach            '6',
1876c1010edaSGreg Roach        ],
1877c1010edaSGreg Roach        'Н'       => [
1878c1010edaSGreg Roach            '0',
1879c1010edaSGreg Roach            '6',
1880c1010edaSGreg Roach            '6',
1881c1010edaSGreg Roach            '6',
1882c1010edaSGreg Roach        ],
1883c1010edaSGreg Roach        'О'       => [
1884c1010edaSGreg Roach            '1',
1885c1010edaSGreg Roach            '0',
1886c1010edaSGreg Roach            '',
1887c1010edaSGreg Roach            '',
1888c1010edaSGreg Roach        ],
1889c1010edaSGreg Roach        'П'       => [
1890c1010edaSGreg Roach            '0',
1891c1010edaSGreg Roach            '7',
1892c1010edaSGreg Roach            '7',
1893c1010edaSGreg Roach            '7',
1894c1010edaSGreg Roach        ],
1895c1010edaSGreg Roach        'Р'       => [
1896c1010edaSGreg Roach            '0',
1897c1010edaSGreg Roach            '9',
1898c1010edaSGreg Roach            '9',
1899c1010edaSGreg Roach            '9',
1900c1010edaSGreg Roach        ],
1901c1010edaSGreg Roach        'РЖ'      => [
1902c1010edaSGreg Roach            '0',
1903c1010edaSGreg Roach            '4',
1904c1010edaSGreg Roach            '4',
1905c1010edaSGreg Roach            '4',
1906c1010edaSGreg Roach        ],
1907c1010edaSGreg Roach        'С'       => [
1908c1010edaSGreg Roach            '0',
1909c1010edaSGreg Roach            '4',
1910c1010edaSGreg Roach            '4',
1911c1010edaSGreg Roach            '4',
1912c1010edaSGreg Roach        ],
1913c1010edaSGreg Roach        'Т'       => [
1914c1010edaSGreg Roach            '0',
1915c1010edaSGreg Roach            '3',
1916c1010edaSGreg Roach            '3',
1917c1010edaSGreg Roach            '3',
1918c1010edaSGreg Roach        ],
1919c1010edaSGreg Roach        'У'       => [
1920c1010edaSGreg Roach            '1',
1921c1010edaSGreg Roach            '0',
1922c1010edaSGreg Roach            '',
1923c1010edaSGreg Roach            '',
1924c1010edaSGreg Roach        ],
1925c1010edaSGreg Roach        'Ф'       => [
1926c1010edaSGreg Roach            '0',
1927c1010edaSGreg Roach            '7',
1928c1010edaSGreg Roach            '7',
1929c1010edaSGreg Roach            '7',
1930c1010edaSGreg Roach        ],
1931c1010edaSGreg Roach        'Х'       => [
1932c1010edaSGreg Roach            '0',
1933c1010edaSGreg Roach            '5',
1934c1010edaSGreg Roach            '5',
1935c1010edaSGreg Roach            '5',
1936c1010edaSGreg Roach        ],
1937c1010edaSGreg Roach        'Ц'       => [
1938c1010edaSGreg Roach            '0',
1939c1010edaSGreg Roach            '4',
1940c1010edaSGreg Roach            '4',
1941c1010edaSGreg Roach            '4',
1942c1010edaSGreg Roach        ],
1943c1010edaSGreg Roach        'Ч'       => [
1944c1010edaSGreg Roach            '0',
1945c1010edaSGreg Roach            '4',
1946c1010edaSGreg Roach            '4',
1947c1010edaSGreg Roach            '4',
1948c1010edaSGreg Roach        ],
1949c1010edaSGreg Roach        'Ш'       => [
1950c1010edaSGreg Roach            '0',
1951c1010edaSGreg Roach            '4',
1952c1010edaSGreg Roach            '4',
1953c1010edaSGreg Roach            '4',
1954c1010edaSGreg Roach        ],
1955c1010edaSGreg Roach        'Щ'       => [
1956c1010edaSGreg Roach            '0',
1957c1010edaSGreg Roach            '2',
1958c1010edaSGreg Roach            '4',
1959c1010edaSGreg Roach            '4',
1960c1010edaSGreg Roach        ],
1961c1010edaSGreg Roach        'Ъ'       => [
1962c1010edaSGreg Roach            '0',
1963c1010edaSGreg Roach            '',
1964c1010edaSGreg Roach            '',
1965c1010edaSGreg Roach            '',
1966c1010edaSGreg Roach        ],
1967c1010edaSGreg Roach        'Ы'       => [
1968c1010edaSGreg Roach            '0',
1969c1010edaSGreg Roach            '1',
1970c1010edaSGreg Roach            '',
1971c1010edaSGreg Roach            '',
1972c1010edaSGreg Roach        ],
1973c1010edaSGreg Roach        'Ь'       => [
1974c1010edaSGreg Roach            '0',
1975c1010edaSGreg Roach            '',
1976c1010edaSGreg Roach            '',
1977c1010edaSGreg Roach            '',
1978c1010edaSGreg Roach        ],
1979c1010edaSGreg Roach        'Э'       => [
1980c1010edaSGreg Roach            '1',
1981c1010edaSGreg Roach            '0',
1982c1010edaSGreg Roach            '',
1983c1010edaSGreg Roach            '',
1984c1010edaSGreg Roach        ],
1985c1010edaSGreg Roach        'Ю'       => [
1986c1010edaSGreg Roach            '0',
1987c1010edaSGreg Roach            '1',
1988c1010edaSGreg Roach            '',
1989c1010edaSGreg Roach            '',
1990c1010edaSGreg Roach        ],
1991c1010edaSGreg Roach        'Я'       => [
1992c1010edaSGreg Roach            '0',
1993c1010edaSGreg Roach            '1',
1994c1010edaSGreg Roach            '',
1995c1010edaSGreg Roach            '',
1996c1010edaSGreg Roach        ],
1997a25f0a04SGreg Roach        // Greek alphabet
1998c1010edaSGreg Roach        'Α'       => [
1999c1010edaSGreg Roach            '1',
2000c1010edaSGreg Roach            '0',
2001c1010edaSGreg Roach            '',
2002c1010edaSGreg Roach            '',
2003c1010edaSGreg Roach        ],
2004c1010edaSGreg Roach        'Ά'       => [
2005c1010edaSGreg Roach            '1',
2006c1010edaSGreg Roach            '0',
2007c1010edaSGreg Roach            '',
2008c1010edaSGreg Roach            '',
2009c1010edaSGreg Roach        ],
2010c1010edaSGreg Roach        'ΑΙ'      => [
2011c1010edaSGreg Roach            '1',
2012c1010edaSGreg Roach            '0',
2013c1010edaSGreg Roach            '1',
2014c1010edaSGreg Roach            '',
2015c1010edaSGreg Roach        ],
2016c1010edaSGreg Roach        'ΑΥ'      => [
2017c1010edaSGreg Roach            '1',
2018c1010edaSGreg Roach            '0',
2019c1010edaSGreg Roach            '1',
2020c1010edaSGreg Roach            '',
2021c1010edaSGreg Roach        ],
2022c1010edaSGreg Roach        'Β'       => [
2023c1010edaSGreg Roach            '0',
2024c1010edaSGreg Roach            '7',
2025c1010edaSGreg Roach            '7',
2026c1010edaSGreg Roach            '7',
2027c1010edaSGreg Roach        ],
2028c1010edaSGreg Roach        'Γ'       => [
2029c1010edaSGreg Roach            '0',
2030c1010edaSGreg Roach            '5',
2031c1010edaSGreg Roach            '5',
2032c1010edaSGreg Roach            '5',
2033c1010edaSGreg Roach        ],
2034c1010edaSGreg Roach        'Δ'       => [
2035c1010edaSGreg Roach            '0',
2036c1010edaSGreg Roach            '3',
2037c1010edaSGreg Roach            '3',
2038c1010edaSGreg Roach            '3',
2039c1010edaSGreg Roach        ],
2040c1010edaSGreg Roach        'Ε'       => [
2041c1010edaSGreg Roach            '1',
2042c1010edaSGreg Roach            '0',
2043c1010edaSGreg Roach            '',
2044c1010edaSGreg Roach            '',
2045c1010edaSGreg Roach        ],
2046c1010edaSGreg Roach        'Έ'       => [
2047c1010edaSGreg Roach            '1',
2048c1010edaSGreg Roach            '0',
2049c1010edaSGreg Roach            '',
2050c1010edaSGreg Roach            '',
2051c1010edaSGreg Roach        ],
2052c1010edaSGreg Roach        'ΕΙ'      => [
2053c1010edaSGreg Roach            '1',
2054c1010edaSGreg Roach            '0',
2055c1010edaSGreg Roach            '1',
2056c1010edaSGreg Roach            '',
2057c1010edaSGreg Roach        ],
2058c1010edaSGreg Roach        'ΕΥ'      => [
2059c1010edaSGreg Roach            '1',
2060c1010edaSGreg Roach            '1',
2061c1010edaSGreg Roach            '1',
2062c1010edaSGreg Roach            '',
2063c1010edaSGreg Roach        ],
2064c1010edaSGreg Roach        'Ζ'       => [
2065c1010edaSGreg Roach            '0',
2066c1010edaSGreg Roach            '4',
2067c1010edaSGreg Roach            '4',
2068c1010edaSGreg Roach            '4',
2069c1010edaSGreg Roach        ],
2070c1010edaSGreg Roach        'Η'       => [
2071c1010edaSGreg Roach            '1',
2072c1010edaSGreg Roach            '0',
2073c1010edaSGreg Roach            '',
2074c1010edaSGreg Roach            '',
2075c1010edaSGreg Roach        ],
2076c1010edaSGreg Roach        'Ή'       => [
2077c1010edaSGreg Roach            '1',
2078c1010edaSGreg Roach            '0',
2079c1010edaSGreg Roach            '',
2080c1010edaSGreg Roach            '',
2081c1010edaSGreg Roach        ],
2082c1010edaSGreg Roach        'Θ'       => [
2083c1010edaSGreg Roach            '0',
2084c1010edaSGreg Roach            '3',
2085c1010edaSGreg Roach            '3',
2086c1010edaSGreg Roach            '3',
2087c1010edaSGreg Roach        ],
2088c1010edaSGreg Roach        'Ι'       => [
2089c1010edaSGreg Roach            '1',
2090c1010edaSGreg Roach            '0',
2091c1010edaSGreg Roach            '',
2092c1010edaSGreg Roach            '',
2093c1010edaSGreg Roach        ],
2094c1010edaSGreg Roach        'Ί'       => [
2095c1010edaSGreg Roach            '1',
2096c1010edaSGreg Roach            '0',
2097c1010edaSGreg Roach            '',
2098c1010edaSGreg Roach            '',
2099c1010edaSGreg Roach        ],
2100c1010edaSGreg Roach        'Ϊ'       => [
2101c1010edaSGreg Roach            '1',
2102c1010edaSGreg Roach            '0',
2103c1010edaSGreg Roach            '',
2104c1010edaSGreg Roach            '',
2105c1010edaSGreg Roach        ],
2106c1010edaSGreg Roach        'ΐ'       => [
2107c1010edaSGreg Roach            '1',
2108c1010edaSGreg Roach            '0',
2109c1010edaSGreg Roach            '',
2110c1010edaSGreg Roach            '',
2111c1010edaSGreg Roach        ],
2112c1010edaSGreg Roach        'Κ'       => [
2113c1010edaSGreg Roach            '0',
2114c1010edaSGreg Roach            '5',
2115c1010edaSGreg Roach            '5',
2116c1010edaSGreg Roach            '5',
2117c1010edaSGreg Roach        ],
2118c1010edaSGreg Roach        'Λ'       => [
2119c1010edaSGreg Roach            '0',
2120c1010edaSGreg Roach            '8',
2121c1010edaSGreg Roach            '8',
2122c1010edaSGreg Roach            '8',
2123c1010edaSGreg Roach        ],
2124c1010edaSGreg Roach        'Μ'       => [
2125c1010edaSGreg Roach            '0',
2126c1010edaSGreg Roach            '6',
2127c1010edaSGreg Roach            '6',
2128c1010edaSGreg Roach            '6',
2129c1010edaSGreg Roach        ],
2130c1010edaSGreg Roach        'ΜΠ'      => [
2131c1010edaSGreg Roach            '0',
2132c1010edaSGreg Roach            '7',
2133c1010edaSGreg Roach            '7',
2134c1010edaSGreg Roach            '7',
2135c1010edaSGreg Roach        ],
2136c1010edaSGreg Roach        'Ν'       => [
2137c1010edaSGreg Roach            '0',
2138c1010edaSGreg Roach            '6',
2139c1010edaSGreg Roach            '6',
2140c1010edaSGreg Roach            '6',
2141c1010edaSGreg Roach        ],
2142c1010edaSGreg Roach        'ΝΤ'      => [
2143c1010edaSGreg Roach            '0',
2144c1010edaSGreg Roach            '3',
2145c1010edaSGreg Roach            '3',
2146c1010edaSGreg Roach            '3',
2147c1010edaSGreg Roach        ],
2148c1010edaSGreg Roach        'Ξ'       => [
2149c1010edaSGreg Roach            '0',
2150c1010edaSGreg Roach            '5',
2151c1010edaSGreg Roach            '54',
2152c1010edaSGreg Roach            '54',
2153c1010edaSGreg Roach        ],
2154c1010edaSGreg Roach        'Ο'       => [
2155c1010edaSGreg Roach            '1',
2156c1010edaSGreg Roach            '0',
2157c1010edaSGreg Roach            '',
2158c1010edaSGreg Roach            '',
2159c1010edaSGreg Roach        ],
2160c1010edaSGreg Roach        'Ό'       => [
2161c1010edaSGreg Roach            '1',
2162c1010edaSGreg Roach            '0',
2163c1010edaSGreg Roach            '',
2164c1010edaSGreg Roach            '',
2165c1010edaSGreg Roach        ],
2166c1010edaSGreg Roach        'ΟΙ'      => [
2167c1010edaSGreg Roach            '1',
2168c1010edaSGreg Roach            '0',
2169c1010edaSGreg Roach            '1',
2170c1010edaSGreg Roach            '',
2171c1010edaSGreg Roach        ],
2172c1010edaSGreg Roach        'ΟΥ'      => [
2173c1010edaSGreg Roach            '1',
2174c1010edaSGreg Roach            '0',
2175c1010edaSGreg Roach            '1',
2176c1010edaSGreg Roach            '',
2177c1010edaSGreg Roach        ],
2178c1010edaSGreg Roach        'Π'       => [
2179c1010edaSGreg Roach            '0',
2180c1010edaSGreg Roach            '7',
2181c1010edaSGreg Roach            '7',
2182c1010edaSGreg Roach            '7',
2183c1010edaSGreg Roach        ],
2184c1010edaSGreg Roach        'Ρ'       => [
2185c1010edaSGreg Roach            '0',
2186c1010edaSGreg Roach            '9',
2187c1010edaSGreg Roach            '9',
2188c1010edaSGreg Roach            '9',
2189c1010edaSGreg Roach        ],
2190c1010edaSGreg Roach        'Σ'       => [
2191c1010edaSGreg Roach            '0',
2192c1010edaSGreg Roach            '4',
2193c1010edaSGreg Roach            '4',
2194c1010edaSGreg Roach            '4',
2195c1010edaSGreg Roach        ],
2196c1010edaSGreg Roach        'ς'       => [
2197c1010edaSGreg Roach            '0',
2198c1010edaSGreg Roach            '',
2199c1010edaSGreg Roach            '',
2200c1010edaSGreg Roach            '4',
2201c1010edaSGreg Roach        ],
2202c1010edaSGreg Roach        'Τ'       => [
2203c1010edaSGreg Roach            '0',
2204c1010edaSGreg Roach            '3',
2205c1010edaSGreg Roach            '3',
2206c1010edaSGreg Roach            '3',
2207c1010edaSGreg Roach        ],
2208c1010edaSGreg Roach        'ΤΖ'      => [
2209c1010edaSGreg Roach            '0',
2210c1010edaSGreg Roach            '4',
2211c1010edaSGreg Roach            '4',
2212c1010edaSGreg Roach            '4',
2213c1010edaSGreg Roach        ],
2214c1010edaSGreg Roach        'ΤΣ'      => [
2215c1010edaSGreg Roach            '0',
2216c1010edaSGreg Roach            '4',
2217c1010edaSGreg Roach            '4',
2218c1010edaSGreg Roach            '4',
2219c1010edaSGreg Roach        ],
2220c1010edaSGreg Roach        'Υ'       => [
2221c1010edaSGreg Roach            '1',
2222c1010edaSGreg Roach            '1',
2223c1010edaSGreg Roach            '',
2224c1010edaSGreg Roach            '',
2225c1010edaSGreg Roach        ],
2226c1010edaSGreg Roach        'Ύ'       => [
2227c1010edaSGreg Roach            '1',
2228c1010edaSGreg Roach            '1',
2229c1010edaSGreg Roach            '',
2230c1010edaSGreg Roach            '',
2231c1010edaSGreg Roach        ],
2232c1010edaSGreg Roach        'Ϋ'       => [
2233c1010edaSGreg Roach            '1',
2234c1010edaSGreg Roach            '1',
2235c1010edaSGreg Roach            '',
2236c1010edaSGreg Roach            '',
2237c1010edaSGreg Roach        ],
2238c1010edaSGreg Roach        'ΰ'       => [
2239c1010edaSGreg Roach            '1',
2240c1010edaSGreg Roach            '1',
2241c1010edaSGreg Roach            '',
2242c1010edaSGreg Roach            '',
2243c1010edaSGreg Roach        ],
2244c1010edaSGreg Roach        'ΥΚ'      => [
2245c1010edaSGreg Roach            '1',
2246c1010edaSGreg Roach            '5',
2247c1010edaSGreg Roach            '5',
2248c1010edaSGreg Roach            '5',
2249c1010edaSGreg Roach        ],
2250c1010edaSGreg Roach        'ΥΥ'      => [
2251c1010edaSGreg Roach            '1',
2252c1010edaSGreg Roach            '65',
2253c1010edaSGreg Roach            '65',
2254c1010edaSGreg Roach            '65',
2255c1010edaSGreg Roach        ],
2256c1010edaSGreg Roach        'Φ'       => [
2257c1010edaSGreg Roach            '0',
2258c1010edaSGreg Roach            '7',
2259c1010edaSGreg Roach            '7',
2260c1010edaSGreg Roach            '7',
2261c1010edaSGreg Roach        ],
2262c1010edaSGreg Roach        'Χ'       => [
2263c1010edaSGreg Roach            '0',
2264c1010edaSGreg Roach            '5',
2265c1010edaSGreg Roach            '5',
2266c1010edaSGreg Roach            '5',
2267c1010edaSGreg Roach        ],
2268c1010edaSGreg Roach        'Ψ'       => [
2269c1010edaSGreg Roach            '0',
2270c1010edaSGreg Roach            '7',
2271c1010edaSGreg Roach            '7',
2272c1010edaSGreg Roach            '7',
2273c1010edaSGreg Roach        ],
2274c1010edaSGreg Roach        'Ω'       => [
2275c1010edaSGreg Roach            '1',
2276c1010edaSGreg Roach            '0',
2277c1010edaSGreg Roach            '',
2278c1010edaSGreg Roach            '',
2279c1010edaSGreg Roach        ],
2280c1010edaSGreg Roach        'Ώ'       => [
2281c1010edaSGreg Roach            '1',
2282c1010edaSGreg Roach            '0',
2283c1010edaSGreg Roach            '',
2284c1010edaSGreg Roach            '',
2285c1010edaSGreg Roach        ],
2286a25f0a04SGreg Roach        // Hebrew alphabet
2287c1010edaSGreg Roach        'א'       => [
2288c1010edaSGreg Roach            '1',
2289c1010edaSGreg Roach            '0',
2290c1010edaSGreg Roach            '',
2291c1010edaSGreg Roach            '',
2292c1010edaSGreg Roach        ],
2293c1010edaSGreg Roach        'או'      => [
2294c1010edaSGreg Roach            '1',
2295c1010edaSGreg Roach            '0',
2296c1010edaSGreg Roach            '7',
2297c1010edaSGreg Roach            '',
2298c1010edaSGreg Roach        ],
2299c1010edaSGreg Roach        'אג'      => [
2300c1010edaSGreg Roach            '1',
2301c1010edaSGreg Roach            '4',
2302c1010edaSGreg Roach            '4',
2303c1010edaSGreg Roach            '4',
2304c1010edaSGreg Roach            '5',
2305c1010edaSGreg Roach            '5',
2306c1010edaSGreg Roach            '5',
2307c1010edaSGreg Roach            '34',
2308c1010edaSGreg Roach            '34',
2309c1010edaSGreg Roach            '34',
2310c1010edaSGreg Roach        ],
2311c1010edaSGreg Roach        'בב'      => [
2312c1010edaSGreg Roach            '0',
2313c1010edaSGreg Roach            '7',
2314c1010edaSGreg Roach            '7',
2315c1010edaSGreg Roach            '7',
2316c1010edaSGreg Roach            '77',
2317c1010edaSGreg Roach            '77',
2318c1010edaSGreg Roach            '77',
2319c1010edaSGreg Roach        ],
2320c1010edaSGreg Roach        'ב'       => [
2321c1010edaSGreg Roach            '0',
2322c1010edaSGreg Roach            '7',
2323c1010edaSGreg Roach            '7',
2324c1010edaSGreg Roach            '7',
2325c1010edaSGreg Roach        ],
2326c1010edaSGreg Roach        'גג'      => [
2327c1010edaSGreg Roach            '0',
2328c1010edaSGreg Roach            '4',
2329c1010edaSGreg Roach            '4',
2330c1010edaSGreg Roach            '4',
2331c1010edaSGreg Roach            '5',
2332c1010edaSGreg Roach            '5',
2333c1010edaSGreg Roach            '5',
2334c1010edaSGreg Roach            '45',
2335c1010edaSGreg Roach            '45',
2336c1010edaSGreg Roach            '45',
2337c1010edaSGreg Roach            '55',
2338c1010edaSGreg Roach            '55',
2339c1010edaSGreg Roach            '55',
2340c1010edaSGreg Roach            '54',
2341c1010edaSGreg Roach            '54',
2342c1010edaSGreg Roach            '54',
2343c1010edaSGreg Roach        ],
2344c1010edaSGreg Roach        'גד'      => [
2345c1010edaSGreg Roach            '0',
2346c1010edaSGreg Roach            '43',
2347c1010edaSGreg Roach            '43',
2348c1010edaSGreg Roach            '43',
2349c1010edaSGreg Roach            '53',
2350c1010edaSGreg Roach            '53',
2351c1010edaSGreg Roach            '53',
2352c1010edaSGreg Roach        ],
2353c1010edaSGreg Roach        'גה'      => [
2354c1010edaSGreg Roach            '0',
2355c1010edaSGreg Roach            '45',
2356c1010edaSGreg Roach            '45',
2357c1010edaSGreg Roach            '45',
2358c1010edaSGreg Roach            '55',
2359c1010edaSGreg Roach            '55',
2360c1010edaSGreg Roach            '55',
2361c1010edaSGreg Roach        ],
2362c1010edaSGreg Roach        'גז'      => [
2363c1010edaSGreg Roach            '0',
2364c1010edaSGreg Roach            '44',
2365c1010edaSGreg Roach            '44',
2366c1010edaSGreg Roach            '44',
2367c1010edaSGreg Roach            '45',
2368c1010edaSGreg Roach            '45',
2369c1010edaSGreg Roach            '45',
2370c1010edaSGreg Roach        ],
2371c1010edaSGreg Roach        'גח'      => [
2372c1010edaSGreg Roach            '0',
2373c1010edaSGreg Roach            '45',
2374c1010edaSGreg Roach            '45',
2375c1010edaSGreg Roach            '45',
2376c1010edaSGreg Roach            '55',
2377c1010edaSGreg Roach            '55',
2378c1010edaSGreg Roach            '55',
2379c1010edaSGreg Roach        ],
2380c1010edaSGreg Roach        'גכ'      => [
2381c1010edaSGreg Roach            '0',
2382c1010edaSGreg Roach            '45',
2383c1010edaSGreg Roach            '45',
2384c1010edaSGreg Roach            '45',
2385c1010edaSGreg Roach            '55',
2386c1010edaSGreg Roach            '55',
2387c1010edaSGreg Roach            '55',
2388c1010edaSGreg Roach        ],
2389c1010edaSGreg Roach        'גך'      => [
2390c1010edaSGreg Roach            '0',
2391c1010edaSGreg Roach            '45',
2392c1010edaSGreg Roach            '45',
2393c1010edaSGreg Roach            '45',
2394c1010edaSGreg Roach            '55',
2395c1010edaSGreg Roach            '55',
2396c1010edaSGreg Roach            '55',
2397c1010edaSGreg Roach        ],
2398c1010edaSGreg Roach        'גצ'      => [
2399c1010edaSGreg Roach            '0',
2400c1010edaSGreg Roach            '44',
2401c1010edaSGreg Roach            '44',
2402c1010edaSGreg Roach            '44',
2403c1010edaSGreg Roach            '45',
2404c1010edaSGreg Roach            '45',
2405c1010edaSGreg Roach            '45',
2406c1010edaSGreg Roach        ],
2407c1010edaSGreg Roach        'גץ'      => [
2408c1010edaSGreg Roach            '0',
2409c1010edaSGreg Roach            '44',
2410c1010edaSGreg Roach            '44',
2411c1010edaSGreg Roach            '44',
2412c1010edaSGreg Roach            '45',
2413c1010edaSGreg Roach            '45',
2414c1010edaSGreg Roach            '45',
2415c1010edaSGreg Roach        ],
2416c1010edaSGreg Roach        'גק'      => [
2417c1010edaSGreg Roach            '0',
2418c1010edaSGreg Roach            '45',
2419c1010edaSGreg Roach            '45',
2420c1010edaSGreg Roach            '45',
2421c1010edaSGreg Roach            '54',
2422c1010edaSGreg Roach            '54',
2423c1010edaSGreg Roach            '54',
2424c1010edaSGreg Roach        ],
2425c1010edaSGreg Roach        'גש'      => [
2426c1010edaSGreg Roach            '0',
2427c1010edaSGreg Roach            '44',
2428c1010edaSGreg Roach            '44',
2429c1010edaSGreg Roach            '44',
2430c1010edaSGreg Roach            '54',
2431c1010edaSGreg Roach            '54',
2432c1010edaSGreg Roach            '54',
2433c1010edaSGreg Roach        ],
2434c1010edaSGreg Roach        'גת'      => [
2435c1010edaSGreg Roach            '0',
2436c1010edaSGreg Roach            '43',
2437c1010edaSGreg Roach            '43',
2438c1010edaSGreg Roach            '43',
2439c1010edaSGreg Roach            '53',
2440c1010edaSGreg Roach            '53',
2441c1010edaSGreg Roach            '53',
2442c1010edaSGreg Roach        ],
2443c1010edaSGreg Roach        'ג'       => [
2444c1010edaSGreg Roach            '0',
2445c1010edaSGreg Roach            '4',
2446c1010edaSGreg Roach            '4',
2447c1010edaSGreg Roach            '4',
2448c1010edaSGreg Roach            '5',
2449c1010edaSGreg Roach            '5',
2450c1010edaSGreg Roach            '5',
2451c1010edaSGreg Roach        ],
2452c1010edaSGreg Roach        'דז'      => [
2453c1010edaSGreg Roach            '0',
2454c1010edaSGreg Roach            '4',
2455c1010edaSGreg Roach            '4',
2456c1010edaSGreg Roach            '4',
2457c1010edaSGreg Roach        ],
2458c1010edaSGreg Roach        'דד'      => [
2459c1010edaSGreg Roach            '0',
2460c1010edaSGreg Roach            '3',
2461c1010edaSGreg Roach            '3',
2462c1010edaSGreg Roach            '3',
2463c1010edaSGreg Roach            '33',
2464c1010edaSGreg Roach            '33',
2465c1010edaSGreg Roach            '33',
2466c1010edaSGreg Roach        ],
2467c1010edaSGreg Roach        'דט'      => [
2468c1010edaSGreg Roach            '0',
2469c1010edaSGreg Roach            '33',
2470c1010edaSGreg Roach            '33',
2471c1010edaSGreg Roach            '33',
2472c1010edaSGreg Roach        ],
2473c1010edaSGreg Roach        'דש'      => [
2474c1010edaSGreg Roach            '0',
2475c1010edaSGreg Roach            '4',
2476c1010edaSGreg Roach            '4',
2477c1010edaSGreg Roach            '4',
2478c1010edaSGreg Roach        ],
2479c1010edaSGreg Roach        'דצ'      => [
2480c1010edaSGreg Roach            '0',
2481c1010edaSGreg Roach            '4',
2482c1010edaSGreg Roach            '4',
2483c1010edaSGreg Roach            '4',
2484c1010edaSGreg Roach        ],
2485c1010edaSGreg Roach        'דץ'      => [
2486c1010edaSGreg Roach            '0',
2487c1010edaSGreg Roach            '4',
2488c1010edaSGreg Roach            '4',
2489c1010edaSGreg Roach            '4',
2490c1010edaSGreg Roach        ],
2491c1010edaSGreg Roach        'ד'       => [
2492c1010edaSGreg Roach            '0',
2493c1010edaSGreg Roach            '3',
2494c1010edaSGreg Roach            '3',
2495c1010edaSGreg Roach            '3',
2496c1010edaSGreg Roach        ],
2497c1010edaSGreg Roach        'הג'      => [
2498c1010edaSGreg Roach            '0',
2499c1010edaSGreg Roach            '54',
2500c1010edaSGreg Roach            '54',
2501c1010edaSGreg Roach            '54',
2502c1010edaSGreg Roach            '55',
2503c1010edaSGreg Roach            '55',
2504c1010edaSGreg Roach            '55',
2505c1010edaSGreg Roach        ],
2506c1010edaSGreg Roach        'הכ'      => [
2507c1010edaSGreg Roach            '0',
2508c1010edaSGreg Roach            '55',
2509c1010edaSGreg Roach            '55',
2510c1010edaSGreg Roach            '55',
2511c1010edaSGreg Roach        ],
2512c1010edaSGreg Roach        'הח'      => [
2513c1010edaSGreg Roach            '0',
2514c1010edaSGreg Roach            '55',
2515c1010edaSGreg Roach            '55',
2516c1010edaSGreg Roach            '55',
2517c1010edaSGreg Roach        ],
2518c1010edaSGreg Roach        'הק'      => [
2519c1010edaSGreg Roach            '0',
2520c1010edaSGreg Roach            '55',
2521c1010edaSGreg Roach            '55',
2522c1010edaSGreg Roach            '55',
2523c1010edaSGreg Roach            '5',
2524c1010edaSGreg Roach            '5',
2525c1010edaSGreg Roach            '5',
2526c1010edaSGreg Roach        ],
2527c1010edaSGreg Roach        'הה'      => [
2528c1010edaSGreg Roach            '0',
2529c1010edaSGreg Roach            '5',
2530c1010edaSGreg Roach            '5',
2531c1010edaSGreg Roach            '',
2532c1010edaSGreg Roach            '55',
2533c1010edaSGreg Roach            '55',
2534c1010edaSGreg Roach            '',
2535c1010edaSGreg Roach        ],
2536c1010edaSGreg Roach        'ה'       => [
2537c1010edaSGreg Roach            '0',
2538c1010edaSGreg Roach            '5',
2539c1010edaSGreg Roach            '5',
2540c1010edaSGreg Roach            '',
2541c1010edaSGreg Roach        ],
2542c1010edaSGreg Roach        'וי'      => [
2543c1010edaSGreg Roach            '1',
2544c1010edaSGreg Roach            '',
2545c1010edaSGreg Roach            '',
2546c1010edaSGreg Roach            '',
2547c1010edaSGreg Roach            '7',
2548c1010edaSGreg Roach            '7',
2549c1010edaSGreg Roach            '7',
2550c1010edaSGreg Roach        ],
2551c1010edaSGreg Roach        'ו'       => [
2552c1010edaSGreg Roach            '1',
2553c1010edaSGreg Roach            '7',
2554c1010edaSGreg Roach            '7',
2555c1010edaSGreg Roach            '7',
2556c1010edaSGreg Roach            '7',
2557c1010edaSGreg Roach            '',
2558c1010edaSGreg Roach            '',
2559c1010edaSGreg Roach        ],
2560c1010edaSGreg Roach        'וו'      => [
2561c1010edaSGreg Roach            '1',
2562c1010edaSGreg Roach            '7',
2563c1010edaSGreg Roach            '7',
2564c1010edaSGreg Roach            '7',
2565c1010edaSGreg Roach            '7',
2566c1010edaSGreg Roach            '',
2567c1010edaSGreg Roach            '',
2568c1010edaSGreg Roach        ],
2569c1010edaSGreg Roach        'וופ'     => [
2570c1010edaSGreg Roach            '1',
2571c1010edaSGreg Roach            '7',
2572c1010edaSGreg Roach            '7',
2573c1010edaSGreg Roach            '7',
2574c1010edaSGreg Roach            '77',
2575c1010edaSGreg Roach            '77',
2576c1010edaSGreg Roach            '77',
2577c1010edaSGreg Roach        ],
2578c1010edaSGreg Roach        'זש'      => [
2579c1010edaSGreg Roach            '0',
2580c1010edaSGreg Roach            '4',
2581c1010edaSGreg Roach            '4',
2582c1010edaSGreg Roach            '4',
2583c1010edaSGreg Roach            '44',
2584c1010edaSGreg Roach            '44',
2585c1010edaSGreg Roach            '44',
2586c1010edaSGreg Roach        ],
2587c1010edaSGreg Roach        'זדז'     => [
2588c1010edaSGreg Roach            '0',
2589c1010edaSGreg Roach            '2',
2590c1010edaSGreg Roach            '4',
2591c1010edaSGreg Roach            '4',
2592c1010edaSGreg Roach        ],
2593c1010edaSGreg Roach        'ז'       => [
2594c1010edaSGreg Roach            '0',
2595c1010edaSGreg Roach            '4',
2596c1010edaSGreg Roach            '4',
2597c1010edaSGreg Roach            '4',
2598c1010edaSGreg Roach        ],
2599c1010edaSGreg Roach        'זג'      => [
2600c1010edaSGreg Roach            '0',
2601c1010edaSGreg Roach            '44',
2602c1010edaSGreg Roach            '44',
2603c1010edaSGreg Roach            '44',
2604c1010edaSGreg Roach            '45',
2605c1010edaSGreg Roach            '45',
2606c1010edaSGreg Roach            '45',
2607c1010edaSGreg Roach        ],
2608c1010edaSGreg Roach        'זז'      => [
2609c1010edaSGreg Roach            '0',
2610c1010edaSGreg Roach            '4',
2611c1010edaSGreg Roach            '4',
2612c1010edaSGreg Roach            '4',
2613c1010edaSGreg Roach            '44',
2614c1010edaSGreg Roach            '44',
2615c1010edaSGreg Roach            '44',
2616c1010edaSGreg Roach        ],
2617c1010edaSGreg Roach        'זס'      => [
2618c1010edaSGreg Roach            '0',
2619c1010edaSGreg Roach            '44',
2620c1010edaSGreg Roach            '44',
2621c1010edaSGreg Roach            '44',
2622c1010edaSGreg Roach        ],
2623c1010edaSGreg Roach        'זצ'      => [
2624c1010edaSGreg Roach            '0',
2625c1010edaSGreg Roach            '44',
2626c1010edaSGreg Roach            '44',
2627c1010edaSGreg Roach            '44',
2628c1010edaSGreg Roach        ],
2629c1010edaSGreg Roach        'זץ'      => [
2630c1010edaSGreg Roach            '0',
2631c1010edaSGreg Roach            '44',
2632c1010edaSGreg Roach            '44',
2633c1010edaSGreg Roach            '44',
2634c1010edaSGreg Roach        ],
2635c1010edaSGreg Roach        'חג'      => [
2636c1010edaSGreg Roach            '0',
2637c1010edaSGreg Roach            '54',
2638c1010edaSGreg Roach            '54',
2639c1010edaSGreg Roach            '54',
2640c1010edaSGreg Roach            '53',
2641c1010edaSGreg Roach            '53',
2642c1010edaSGreg Roach            '53',
2643c1010edaSGreg Roach        ],
2644c1010edaSGreg Roach        'חח'      => [
2645c1010edaSGreg Roach            '0',
2646c1010edaSGreg Roach            '5',
2647c1010edaSGreg Roach            '5',
2648c1010edaSGreg Roach            '5',
2649c1010edaSGreg Roach            '55',
2650c1010edaSGreg Roach            '55',
2651c1010edaSGreg Roach            '55',
2652c1010edaSGreg Roach        ],
2653c1010edaSGreg Roach        'חק'      => [
2654c1010edaSGreg Roach            '0',
2655c1010edaSGreg Roach            '55',
2656c1010edaSGreg Roach            '55',
2657c1010edaSGreg Roach            '55',
2658c1010edaSGreg Roach            '5',
2659c1010edaSGreg Roach            '5',
2660c1010edaSGreg Roach            '5',
2661c1010edaSGreg Roach        ],
2662c1010edaSGreg Roach        'חכ'      => [
2663c1010edaSGreg Roach            '0',
2664c1010edaSGreg Roach            '45',
2665c1010edaSGreg Roach            '45',
2666c1010edaSGreg Roach            '45',
2667c1010edaSGreg Roach            '55',
2668c1010edaSGreg Roach            '55',
2669c1010edaSGreg Roach            '55',
2670c1010edaSGreg Roach        ],
2671c1010edaSGreg Roach        'חס'      => [
2672c1010edaSGreg Roach            '0',
2673c1010edaSGreg Roach            '5',
2674c1010edaSGreg Roach            '54',
2675c1010edaSGreg Roach            '54',
2676c1010edaSGreg Roach        ],
2677c1010edaSGreg Roach        'חש'      => [
2678c1010edaSGreg Roach            '0',
2679c1010edaSGreg Roach            '5',
2680c1010edaSGreg Roach            '54',
2681c1010edaSGreg Roach            '54',
2682c1010edaSGreg Roach        ],
2683c1010edaSGreg Roach        'ח'       => [
2684c1010edaSGreg Roach            '0',
2685c1010edaSGreg Roach            '5',
2686c1010edaSGreg Roach            '5',
2687c1010edaSGreg Roach            '5',
2688c1010edaSGreg Roach        ],
2689c1010edaSGreg Roach        'טש'      => [
2690c1010edaSGreg Roach            '0',
2691c1010edaSGreg Roach            '4',
2692c1010edaSGreg Roach            '4',
2693c1010edaSGreg Roach            '4',
2694c1010edaSGreg Roach        ],
2695c1010edaSGreg Roach        'טד'      => [
2696c1010edaSGreg Roach            '0',
2697c1010edaSGreg Roach            '33',
2698c1010edaSGreg Roach            '33',
2699c1010edaSGreg Roach            '33',
2700c1010edaSGreg Roach        ],
2701c1010edaSGreg Roach        'טי'      => [
2702c1010edaSGreg Roach            '0',
2703c1010edaSGreg Roach            '3',
2704c1010edaSGreg Roach            '3',
2705c1010edaSGreg Roach            '3',
2706c1010edaSGreg Roach            '4',
2707c1010edaSGreg Roach            '4',
2708c1010edaSGreg Roach            '4',
2709c1010edaSGreg Roach            '3',
2710c1010edaSGreg Roach            '3',
2711c1010edaSGreg Roach            '34',
2712c1010edaSGreg Roach        ],
2713c1010edaSGreg Roach        'טת'      => [
2714c1010edaSGreg Roach            '0',
2715c1010edaSGreg Roach            '33',
2716c1010edaSGreg Roach            '33',
2717c1010edaSGreg Roach            '33',
2718c1010edaSGreg Roach        ],
2719c1010edaSGreg Roach        'טט'      => [
2720c1010edaSGreg Roach            '0',
2721c1010edaSGreg Roach            '3',
2722c1010edaSGreg Roach            '3',
2723c1010edaSGreg Roach            '3',
2724c1010edaSGreg Roach            '33',
2725c1010edaSGreg Roach            '33',
2726c1010edaSGreg Roach            '33',
2727c1010edaSGreg Roach        ],
2728c1010edaSGreg Roach        'ט'       => [
2729c1010edaSGreg Roach            '0',
2730c1010edaSGreg Roach            '3',
2731c1010edaSGreg Roach            '3',
2732c1010edaSGreg Roach            '3',
2733c1010edaSGreg Roach        ],
2734c1010edaSGreg Roach        'י'       => [
2735c1010edaSGreg Roach            '1',
2736c1010edaSGreg Roach            '1',
2737c1010edaSGreg Roach            '',
2738c1010edaSGreg Roach            '',
2739c1010edaSGreg Roach        ],
2740c1010edaSGreg Roach        'יא'      => [
2741c1010edaSGreg Roach            '1',
2742c1010edaSGreg Roach            '1',
2743c1010edaSGreg Roach            '',
2744c1010edaSGreg Roach            '',
2745c1010edaSGreg Roach            '1',
2746c1010edaSGreg Roach            '1',
2747c1010edaSGreg Roach            '1',
2748c1010edaSGreg Roach        ],
2749c1010edaSGreg Roach        'כג'      => [
2750c1010edaSGreg Roach            '0',
2751c1010edaSGreg Roach            '55',
2752c1010edaSGreg Roach            '55',
2753c1010edaSGreg Roach            '55',
2754c1010edaSGreg Roach            '54',
2755c1010edaSGreg Roach            '54',
2756c1010edaSGreg Roach            '54',
2757c1010edaSGreg Roach        ],
2758c1010edaSGreg Roach        'כש'      => [
2759c1010edaSGreg Roach            '0',
2760c1010edaSGreg Roach            '5',
2761c1010edaSGreg Roach            '54',
2762c1010edaSGreg Roach            '54',
2763c1010edaSGreg Roach        ],
2764c1010edaSGreg Roach        'כס'      => [
2765c1010edaSGreg Roach            '0',
2766c1010edaSGreg Roach            '5',
2767c1010edaSGreg Roach            '54',
2768c1010edaSGreg Roach            '54',
2769c1010edaSGreg Roach        ],
2770c1010edaSGreg Roach        'ככ'      => [
2771c1010edaSGreg Roach            '0',
2772c1010edaSGreg Roach            '5',
2773c1010edaSGreg Roach            '5',
2774c1010edaSGreg Roach            '5',
2775c1010edaSGreg Roach            '55',
2776c1010edaSGreg Roach            '55',
2777c1010edaSGreg Roach            '55',
2778c1010edaSGreg Roach        ],
2779c1010edaSGreg Roach        'כך'      => [
2780c1010edaSGreg Roach            '0',
2781c1010edaSGreg Roach            '5',
2782c1010edaSGreg Roach            '5',
2783c1010edaSGreg Roach            '5',
2784c1010edaSGreg Roach            '55',
2785c1010edaSGreg Roach            '55',
2786c1010edaSGreg Roach            '55',
2787c1010edaSGreg Roach        ],
2788c1010edaSGreg Roach        'כ'       => [
2789c1010edaSGreg Roach            '0',
2790c1010edaSGreg Roach            '5',
2791c1010edaSGreg Roach            '5',
2792c1010edaSGreg Roach            '5',
2793c1010edaSGreg Roach        ],
2794c1010edaSGreg Roach        'כח'      => [
2795c1010edaSGreg Roach            '0',
2796c1010edaSGreg Roach            '55',
2797c1010edaSGreg Roach            '55',
2798c1010edaSGreg Roach            '55',
2799c1010edaSGreg Roach            '5',
2800c1010edaSGreg Roach            '5',
2801c1010edaSGreg Roach            '5',
2802c1010edaSGreg Roach        ],
2803c1010edaSGreg Roach        'ך'       => [
2804c1010edaSGreg Roach            '0',
2805c1010edaSGreg Roach            '',
2806c1010edaSGreg Roach            '5',
2807c1010edaSGreg Roach            '5',
2808c1010edaSGreg Roach        ],
2809c1010edaSGreg Roach        'ל'       => [
2810c1010edaSGreg Roach            '0',
2811c1010edaSGreg Roach            '8',
2812c1010edaSGreg Roach            '8',
2813c1010edaSGreg Roach            '8',
2814c1010edaSGreg Roach        ],
2815c1010edaSGreg Roach        'לל'      => [
2816c1010edaSGreg Roach            '0',
2817c1010edaSGreg Roach            '88',
2818c1010edaSGreg Roach            '88',
2819c1010edaSGreg Roach            '88',
2820c1010edaSGreg Roach            '8',
2821c1010edaSGreg Roach            '8',
2822c1010edaSGreg Roach            '8',
2823c1010edaSGreg Roach        ],
2824c1010edaSGreg Roach        'מנ'      => [
2825c1010edaSGreg Roach            '0',
2826c1010edaSGreg Roach            '66',
2827c1010edaSGreg Roach            '66',
2828c1010edaSGreg Roach            '66',
2829c1010edaSGreg Roach        ],
2830c1010edaSGreg Roach        'מן'      => [
2831c1010edaSGreg Roach            '0',
2832c1010edaSGreg Roach            '66',
2833c1010edaSGreg Roach            '66',
2834c1010edaSGreg Roach            '66',
2835c1010edaSGreg Roach        ],
2836c1010edaSGreg Roach        'ממ'      => [
2837c1010edaSGreg Roach            '0',
2838c1010edaSGreg Roach            '6',
2839c1010edaSGreg Roach            '6',
2840c1010edaSGreg Roach            '6',
2841c1010edaSGreg Roach            '66',
2842c1010edaSGreg Roach            '66',
2843c1010edaSGreg Roach            '66',
2844c1010edaSGreg Roach        ],
2845c1010edaSGreg Roach        'מם'      => [
2846c1010edaSGreg Roach            '0',
2847c1010edaSGreg Roach            '6',
2848c1010edaSGreg Roach            '6',
2849c1010edaSGreg Roach            '6',
2850c1010edaSGreg Roach            '66',
2851c1010edaSGreg Roach            '66',
2852c1010edaSGreg Roach            '66',
2853c1010edaSGreg Roach        ],
2854c1010edaSGreg Roach        'מ'       => [
2855c1010edaSGreg Roach            '0',
2856c1010edaSGreg Roach            '6',
2857c1010edaSGreg Roach            '6',
2858c1010edaSGreg Roach            '6',
2859c1010edaSGreg Roach        ],
2860c1010edaSGreg Roach        'ם'       => [
2861c1010edaSGreg Roach            '0',
2862c1010edaSGreg Roach            '',
2863c1010edaSGreg Roach            '6',
2864c1010edaSGreg Roach            '6',
2865c1010edaSGreg Roach        ],
2866c1010edaSGreg Roach        'נמ'      => [
2867c1010edaSGreg Roach            '0',
2868c1010edaSGreg Roach            '66',
2869c1010edaSGreg Roach            '66',
2870c1010edaSGreg Roach            '66',
2871c1010edaSGreg Roach        ],
2872c1010edaSGreg Roach        'נם'      => [
2873c1010edaSGreg Roach            '0',
2874c1010edaSGreg Roach            '66',
2875c1010edaSGreg Roach            '66',
2876c1010edaSGreg Roach            '66',
2877c1010edaSGreg Roach        ],
2878c1010edaSGreg Roach        'ננ'      => [
2879c1010edaSGreg Roach            '0',
2880c1010edaSGreg Roach            '6',
2881c1010edaSGreg Roach            '6',
2882c1010edaSGreg Roach            '6',
2883c1010edaSGreg Roach            '66',
2884c1010edaSGreg Roach            '66',
2885c1010edaSGreg Roach            '66',
2886c1010edaSGreg Roach        ],
2887c1010edaSGreg Roach        'נן'      => [
2888c1010edaSGreg Roach            '0',
2889c1010edaSGreg Roach            '6',
2890c1010edaSGreg Roach            '6',
2891c1010edaSGreg Roach            '6',
2892c1010edaSGreg Roach            '66',
2893c1010edaSGreg Roach            '66',
2894c1010edaSGreg Roach            '66',
2895c1010edaSGreg Roach        ],
2896c1010edaSGreg Roach        'נ'       => [
2897c1010edaSGreg Roach            '0',
2898c1010edaSGreg Roach            '6',
2899c1010edaSGreg Roach            '6',
2900c1010edaSGreg Roach            '6',
2901c1010edaSGreg Roach        ],
2902c1010edaSGreg Roach        'ן'       => [
2903c1010edaSGreg Roach            '0',
2904c1010edaSGreg Roach            '',
2905c1010edaSGreg Roach            '6',
2906c1010edaSGreg Roach            '6',
2907c1010edaSGreg Roach        ],
2908c1010edaSGreg Roach        'סתש'     => [
2909c1010edaSGreg Roach            '0',
2910c1010edaSGreg Roach            '2',
2911c1010edaSGreg Roach            '4',
2912c1010edaSGreg Roach            '4',
2913c1010edaSGreg Roach        ],
2914c1010edaSGreg Roach        'סתז'     => [
2915c1010edaSGreg Roach            '0',
2916c1010edaSGreg Roach            '2',
2917c1010edaSGreg Roach            '4',
2918c1010edaSGreg Roach            '4',
2919c1010edaSGreg Roach        ],
2920c1010edaSGreg Roach        'סטז'     => [
2921c1010edaSGreg Roach            '0',
2922c1010edaSGreg Roach            '2',
2923c1010edaSGreg Roach            '4',
2924c1010edaSGreg Roach            '4',
2925c1010edaSGreg Roach        ],
2926c1010edaSGreg Roach        'סטש'     => [
2927c1010edaSGreg Roach            '0',
2928c1010edaSGreg Roach            '2',
2929c1010edaSGreg Roach            '4',
2930c1010edaSGreg Roach            '4',
2931c1010edaSGreg Roach        ],
2932c1010edaSGreg Roach        'סצד'     => [
2933c1010edaSGreg Roach            '0',
2934c1010edaSGreg Roach            '2',
2935c1010edaSGreg Roach            '4',
2936c1010edaSGreg Roach            '4',
2937c1010edaSGreg Roach        ],
2938c1010edaSGreg Roach        'סט'      => [
2939c1010edaSGreg Roach            '0',
2940c1010edaSGreg Roach            '2',
2941c1010edaSGreg Roach            '4',
2942c1010edaSGreg Roach            '4',
2943c1010edaSGreg Roach            '43',
2944c1010edaSGreg Roach            '43',
2945c1010edaSGreg Roach            '43',
2946c1010edaSGreg Roach        ],
2947c1010edaSGreg Roach        'סת'      => [
2948c1010edaSGreg Roach            '0',
2949c1010edaSGreg Roach            '2',
2950c1010edaSGreg Roach            '4',
2951c1010edaSGreg Roach            '4',
2952c1010edaSGreg Roach            '43',
2953c1010edaSGreg Roach            '43',
2954c1010edaSGreg Roach            '43',
2955c1010edaSGreg Roach        ],
2956c1010edaSGreg Roach        'סג'      => [
2957c1010edaSGreg Roach            '0',
2958c1010edaSGreg Roach            '44',
2959c1010edaSGreg Roach            '44',
2960c1010edaSGreg Roach            '44',
2961c1010edaSGreg Roach            '4',
2962c1010edaSGreg Roach            '4',
2963c1010edaSGreg Roach            '4',
2964c1010edaSGreg Roach        ],
2965c1010edaSGreg Roach        'סס'      => [
2966c1010edaSGreg Roach            '0',
2967c1010edaSGreg Roach            '4',
2968c1010edaSGreg Roach            '4',
2969c1010edaSGreg Roach            '4',
2970c1010edaSGreg Roach            '44',
2971c1010edaSGreg Roach            '44',
2972c1010edaSGreg Roach            '44',
2973c1010edaSGreg Roach        ],
2974c1010edaSGreg Roach        'סצ'      => [
2975c1010edaSGreg Roach            '0',
2976c1010edaSGreg Roach            '44',
2977c1010edaSGreg Roach            '44',
2978c1010edaSGreg Roach            '44',
2979c1010edaSGreg Roach        ],
2980c1010edaSGreg Roach        'סץ'      => [
2981c1010edaSGreg Roach            '0',
2982c1010edaSGreg Roach            '44',
2983c1010edaSGreg Roach            '44',
2984c1010edaSGreg Roach            '44',
2985c1010edaSGreg Roach        ],
2986c1010edaSGreg Roach        'סז'      => [
2987c1010edaSGreg Roach            '0',
2988c1010edaSGreg Roach            '44',
2989c1010edaSGreg Roach            '44',
2990c1010edaSGreg Roach            '44',
2991c1010edaSGreg Roach        ],
2992c1010edaSGreg Roach        'סש'      => [
2993c1010edaSGreg Roach            '0',
2994c1010edaSGreg Roach            '44',
2995c1010edaSGreg Roach            '44',
2996c1010edaSGreg Roach            '44',
2997c1010edaSGreg Roach        ],
2998c1010edaSGreg Roach        'ס'       => [
2999c1010edaSGreg Roach            '0',
3000c1010edaSGreg Roach            '4',
3001c1010edaSGreg Roach            '4',
3002c1010edaSGreg Roach            '4',
3003c1010edaSGreg Roach        ],
3004c1010edaSGreg Roach        'ע'       => [
3005c1010edaSGreg Roach            '1',
3006c1010edaSGreg Roach            '0',
3007c1010edaSGreg Roach            '',
3008c1010edaSGreg Roach            '',
3009c1010edaSGreg Roach        ],
3010c1010edaSGreg Roach        'פב'      => [
3011c1010edaSGreg Roach            '0',
3012c1010edaSGreg Roach            '7',
3013c1010edaSGreg Roach            '7',
3014c1010edaSGreg Roach            '7',
3015c1010edaSGreg Roach            '77',
3016c1010edaSGreg Roach            '77',
3017c1010edaSGreg Roach            '77',
3018c1010edaSGreg Roach        ],
3019c1010edaSGreg Roach        'פוו'     => [
3020c1010edaSGreg Roach            '0',
3021c1010edaSGreg Roach            '7',
3022c1010edaSGreg Roach            '7',
3023c1010edaSGreg Roach            '7',
3024c1010edaSGreg Roach            '77',
3025c1010edaSGreg Roach            '77',
3026c1010edaSGreg Roach            '77',
3027c1010edaSGreg Roach        ],
3028c1010edaSGreg Roach        'פפ'      => [
3029c1010edaSGreg Roach            '0',
3030c1010edaSGreg Roach            '7',
3031c1010edaSGreg Roach            '7',
3032c1010edaSGreg Roach            '7',
3033c1010edaSGreg Roach            '77',
3034c1010edaSGreg Roach            '77',
3035c1010edaSGreg Roach            '77',
3036c1010edaSGreg Roach        ],
3037c1010edaSGreg Roach        'פף'      => [
3038c1010edaSGreg Roach            '0',
3039c1010edaSGreg Roach            '7',
3040c1010edaSGreg Roach            '7',
3041c1010edaSGreg Roach            '7',
3042c1010edaSGreg Roach            '77',
3043c1010edaSGreg Roach            '77',
3044c1010edaSGreg Roach            '77',
3045c1010edaSGreg Roach        ],
3046c1010edaSGreg Roach        'פ'       => [
3047c1010edaSGreg Roach            '0',
3048c1010edaSGreg Roach            '7',
3049c1010edaSGreg Roach            '7',
3050c1010edaSGreg Roach            '7',
3051c1010edaSGreg Roach        ],
3052c1010edaSGreg Roach        'ף'       => [
3053c1010edaSGreg Roach            '0',
3054c1010edaSGreg Roach            '',
3055c1010edaSGreg Roach            '7',
3056c1010edaSGreg Roach            '7',
3057c1010edaSGreg Roach        ],
3058c1010edaSGreg Roach        'צג'      => [
3059c1010edaSGreg Roach            '0',
3060c1010edaSGreg Roach            '44',
3061c1010edaSGreg Roach            '44',
3062c1010edaSGreg Roach            '44',
3063c1010edaSGreg Roach            '45',
3064c1010edaSGreg Roach            '45',
3065c1010edaSGreg Roach            '45',
3066c1010edaSGreg Roach        ],
3067c1010edaSGreg Roach        'צז'      => [
3068c1010edaSGreg Roach            '0',
3069c1010edaSGreg Roach            '44',
3070c1010edaSGreg Roach            '44',
3071c1010edaSGreg Roach            '44',
3072c1010edaSGreg Roach        ],
3073c1010edaSGreg Roach        'צס'      => [
3074c1010edaSGreg Roach            '0',
3075c1010edaSGreg Roach            '44',
3076c1010edaSGreg Roach            '44',
3077c1010edaSGreg Roach            '44',
3078c1010edaSGreg Roach        ],
3079c1010edaSGreg Roach        'צצ'      => [
3080c1010edaSGreg Roach            '0',
3081c1010edaSGreg Roach            '4',
3082c1010edaSGreg Roach            '4',
3083c1010edaSGreg Roach            '4',
3084c1010edaSGreg Roach            '5',
3085c1010edaSGreg Roach            '5',
3086c1010edaSGreg Roach            '5',
3087c1010edaSGreg Roach            '44',
3088c1010edaSGreg Roach            '44',
3089c1010edaSGreg Roach            '44',
3090c1010edaSGreg Roach            '54',
3091c1010edaSGreg Roach            '54',
3092c1010edaSGreg Roach            '54',
3093c1010edaSGreg Roach            '45',
3094c1010edaSGreg Roach            '45',
3095c1010edaSGreg Roach            '45',
3096c1010edaSGreg Roach        ],
3097c1010edaSGreg Roach        'צץ'      => [
3098c1010edaSGreg Roach            '0',
3099c1010edaSGreg Roach            '4',
3100c1010edaSGreg Roach            '4',
3101c1010edaSGreg Roach            '4',
3102c1010edaSGreg Roach            '5',
3103c1010edaSGreg Roach            '5',
3104c1010edaSGreg Roach            '5',
3105c1010edaSGreg Roach            '44',
3106c1010edaSGreg Roach            '44',
3107c1010edaSGreg Roach            '44',
3108c1010edaSGreg Roach            '54',
3109c1010edaSGreg Roach            '54',
3110c1010edaSGreg Roach            '54',
3111c1010edaSGreg Roach        ],
3112c1010edaSGreg Roach        'צש'      => [
3113c1010edaSGreg Roach            '0',
3114c1010edaSGreg Roach            '44',
3115c1010edaSGreg Roach            '44',
3116c1010edaSGreg Roach            '44',
3117c1010edaSGreg Roach            '4',
3118c1010edaSGreg Roach            '4',
3119c1010edaSGreg Roach            '4',
3120c1010edaSGreg Roach            '5',
3121c1010edaSGreg Roach            '5',
3122c1010edaSGreg Roach            '5',
3123c1010edaSGreg Roach        ],
3124c1010edaSGreg Roach        'צ'       => [
3125c1010edaSGreg Roach            '0',
3126c1010edaSGreg Roach            '4',
3127c1010edaSGreg Roach            '4',
3128c1010edaSGreg Roach            '4',
3129c1010edaSGreg Roach            '5',
3130c1010edaSGreg Roach            '5',
3131c1010edaSGreg Roach            '5',
3132c1010edaSGreg Roach        ],
3133c1010edaSGreg Roach        'ץ'       => [
3134c1010edaSGreg Roach            '0',
3135c1010edaSGreg Roach            '',
3136c1010edaSGreg Roach            '4',
3137c1010edaSGreg Roach            '4',
3138c1010edaSGreg Roach        ],
3139c1010edaSGreg Roach        'קה'      => [
3140c1010edaSGreg Roach            '0',
3141c1010edaSGreg Roach            '55',
3142c1010edaSGreg Roach            '55',
3143c1010edaSGreg Roach            '5',
3144c1010edaSGreg Roach        ],
3145c1010edaSGreg Roach        'קס'      => [
3146c1010edaSGreg Roach            '0',
3147c1010edaSGreg Roach            '5',
3148c1010edaSGreg Roach            '54',
3149c1010edaSGreg Roach            '54',
3150c1010edaSGreg Roach        ],
3151c1010edaSGreg Roach        'קש'      => [
3152c1010edaSGreg Roach            '0',
3153c1010edaSGreg Roach            '5',
3154c1010edaSGreg Roach            '54',
3155c1010edaSGreg Roach            '54',
3156c1010edaSGreg Roach        ],
3157c1010edaSGreg Roach        'קק'      => [
3158c1010edaSGreg Roach            '0',
3159c1010edaSGreg Roach            '5',
3160c1010edaSGreg Roach            '5',
3161c1010edaSGreg Roach            '5',
3162c1010edaSGreg Roach            '55',
3163c1010edaSGreg Roach            '55',
3164c1010edaSGreg Roach            '55',
3165c1010edaSGreg Roach        ],
3166c1010edaSGreg Roach        'קח'      => [
3167c1010edaSGreg Roach            '0',
3168c1010edaSGreg Roach            '55',
3169c1010edaSGreg Roach            '55',
3170c1010edaSGreg Roach            '55',
3171c1010edaSGreg Roach        ],
3172c1010edaSGreg Roach        'קכ'      => [
3173c1010edaSGreg Roach            '0',
3174c1010edaSGreg Roach            '55',
3175c1010edaSGreg Roach            '55',
3176c1010edaSGreg Roach            '55',
3177c1010edaSGreg Roach        ],
3178c1010edaSGreg Roach        'קך'      => [
3179c1010edaSGreg Roach            '0',
3180c1010edaSGreg Roach            '55',
3181c1010edaSGreg Roach            '55',
3182c1010edaSGreg Roach            '55',
3183c1010edaSGreg Roach        ],
3184c1010edaSGreg Roach        'קג'      => [
3185c1010edaSGreg Roach            '0',
3186c1010edaSGreg Roach            '55',
3187c1010edaSGreg Roach            '55',
3188c1010edaSGreg Roach            '55',
3189c1010edaSGreg Roach            '54',
3190c1010edaSGreg Roach            '54',
3191c1010edaSGreg Roach            '54',
3192c1010edaSGreg Roach        ],
3193c1010edaSGreg Roach        'ק'       => [
3194c1010edaSGreg Roach            '0',
3195c1010edaSGreg Roach            '5',
3196c1010edaSGreg Roach            '5',
3197c1010edaSGreg Roach            '5',
3198c1010edaSGreg Roach        ],
3199c1010edaSGreg Roach        'רר'      => [
3200c1010edaSGreg Roach            '0',
3201c1010edaSGreg Roach            '99',
3202c1010edaSGreg Roach            '99',
3203c1010edaSGreg Roach            '99',
3204c1010edaSGreg Roach            '9',
3205c1010edaSGreg Roach            '9',
3206c1010edaSGreg Roach            '9',
3207c1010edaSGreg Roach        ],
3208c1010edaSGreg Roach        'ר'       => [
3209c1010edaSGreg Roach            '0',
3210c1010edaSGreg Roach            '9',
3211c1010edaSGreg Roach            '9',
3212c1010edaSGreg Roach            '9',
3213c1010edaSGreg Roach        ],
3214c1010edaSGreg Roach        'שטז'     => [
3215c1010edaSGreg Roach            '0',
3216c1010edaSGreg Roach            '2',
3217c1010edaSGreg Roach            '4',
3218c1010edaSGreg Roach            '4',
3219c1010edaSGreg Roach        ],
3220c1010edaSGreg Roach        'שתש'     => [
3221c1010edaSGreg Roach            '0',
3222c1010edaSGreg Roach            '2',
3223c1010edaSGreg Roach            '4',
3224c1010edaSGreg Roach            '4',
3225c1010edaSGreg Roach        ],
3226c1010edaSGreg Roach        'שתז'     => [
3227c1010edaSGreg Roach            '0',
3228c1010edaSGreg Roach            '2',
3229c1010edaSGreg Roach            '4',
3230c1010edaSGreg Roach            '4',
3231c1010edaSGreg Roach        ],
3232c1010edaSGreg Roach        'שטש'     => [
3233c1010edaSGreg Roach            '0',
3234c1010edaSGreg Roach            '2',
3235c1010edaSGreg Roach            '4',
3236c1010edaSGreg Roach            '4',
3237c1010edaSGreg Roach        ],
3238c1010edaSGreg Roach        'שד'      => [
3239c1010edaSGreg Roach            '0',
3240c1010edaSGreg Roach            '2',
3241c1010edaSGreg Roach            '43',
3242c1010edaSGreg Roach            '43',
3243c1010edaSGreg Roach        ],
3244c1010edaSGreg Roach        'שז'      => [
3245c1010edaSGreg Roach            '0',
3246c1010edaSGreg Roach            '44',
3247c1010edaSGreg Roach            '44',
3248c1010edaSGreg Roach            '44',
3249c1010edaSGreg Roach        ],
3250c1010edaSGreg Roach        'שס'      => [
3251c1010edaSGreg Roach            '0',
3252c1010edaSGreg Roach            '44',
3253c1010edaSGreg Roach            '44',
3254c1010edaSGreg Roach            '44',
3255c1010edaSGreg Roach        ],
3256c1010edaSGreg Roach        'שת'      => [
3257c1010edaSGreg Roach            '0',
3258c1010edaSGreg Roach            '2',
3259c1010edaSGreg Roach            '43',
3260c1010edaSGreg Roach            '43',
3261c1010edaSGreg Roach        ],
3262c1010edaSGreg Roach        'שג'      => [
3263c1010edaSGreg Roach            '0',
3264c1010edaSGreg Roach            '4',
3265c1010edaSGreg Roach            '4',
3266c1010edaSGreg Roach            '4',
3267c1010edaSGreg Roach            '44',
3268c1010edaSGreg Roach            '44',
3269c1010edaSGreg Roach            '44',
3270c1010edaSGreg Roach            '4',
3271c1010edaSGreg Roach            '43',
3272c1010edaSGreg Roach            '43',
3273c1010edaSGreg Roach        ],
3274c1010edaSGreg Roach        'שט'      => [
3275c1010edaSGreg Roach            '0',
3276c1010edaSGreg Roach            '2',
3277c1010edaSGreg Roach            '43',
3278c1010edaSGreg Roach            '43',
3279c1010edaSGreg Roach            '44',
3280c1010edaSGreg Roach            '44',
3281c1010edaSGreg Roach            '44',
3282c1010edaSGreg Roach        ],
3283c1010edaSGreg Roach        'שצ'      => [
3284c1010edaSGreg Roach            '0',
3285c1010edaSGreg Roach            '44',
3286c1010edaSGreg Roach            '44',
3287c1010edaSGreg Roach            '44',
3288c1010edaSGreg Roach            '45',
3289c1010edaSGreg Roach            '45',
3290c1010edaSGreg Roach            '45',
3291c1010edaSGreg Roach        ],
3292c1010edaSGreg Roach        'שץ'      => [
3293c1010edaSGreg Roach            '0',
3294c1010edaSGreg Roach            '44',
3295c1010edaSGreg Roach            '',
3296c1010edaSGreg Roach            '44',
3297c1010edaSGreg Roach            '45',
3298c1010edaSGreg Roach            '',
3299c1010edaSGreg Roach            '45',
3300c1010edaSGreg Roach        ],
3301c1010edaSGreg Roach        'שש'      => [
3302c1010edaSGreg Roach            '0',
3303c1010edaSGreg Roach            '4',
3304c1010edaSGreg Roach            '4',
3305c1010edaSGreg Roach            '4',
3306c1010edaSGreg Roach            '44',
3307c1010edaSGreg Roach            '44',
3308c1010edaSGreg Roach            '44',
3309c1010edaSGreg Roach        ],
3310c1010edaSGreg Roach        'ש'       => [
3311c1010edaSGreg Roach            '0',
3312c1010edaSGreg Roach            '4',
3313c1010edaSGreg Roach            '4',
3314c1010edaSGreg Roach            '4',
3315c1010edaSGreg Roach        ],
3316c1010edaSGreg Roach        'תג'      => [
3317c1010edaSGreg Roach            '0',
3318c1010edaSGreg Roach            '34',
3319c1010edaSGreg Roach            '34',
3320c1010edaSGreg Roach            '34',
3321c1010edaSGreg Roach        ],
3322c1010edaSGreg Roach        'תז'      => [
3323c1010edaSGreg Roach            '0',
3324c1010edaSGreg Roach            '34',
3325c1010edaSGreg Roach            '34',
3326c1010edaSGreg Roach            '34',
3327c1010edaSGreg Roach        ],
3328c1010edaSGreg Roach        'תש'      => [
3329c1010edaSGreg Roach            '0',
3330c1010edaSGreg Roach            '4',
3331c1010edaSGreg Roach            '4',
3332c1010edaSGreg Roach            '4',
3333c1010edaSGreg Roach        ],
3334c1010edaSGreg Roach        'תת'      => [
3335c1010edaSGreg Roach            '0',
3336c1010edaSGreg Roach            '3',
3337c1010edaSGreg Roach            '3',
3338c1010edaSGreg Roach            '3',
3339c1010edaSGreg Roach            '4',
3340c1010edaSGreg Roach            '4',
3341c1010edaSGreg Roach            '4',
3342c1010edaSGreg Roach            '33',
3343c1010edaSGreg Roach            '33',
3344c1010edaSGreg Roach            '33',
3345c1010edaSGreg Roach            '44',
3346c1010edaSGreg Roach            '44',
3347c1010edaSGreg Roach            '44',
3348c1010edaSGreg Roach            '34',
3349c1010edaSGreg Roach            '34',
3350c1010edaSGreg Roach            '34',
3351c1010edaSGreg Roach            '43',
3352c1010edaSGreg Roach            '43',
3353c1010edaSGreg Roach            '43',
3354c1010edaSGreg Roach        ],
3355c1010edaSGreg Roach        'ת'       => [
3356c1010edaSGreg Roach            '0',
3357c1010edaSGreg Roach            '3',
3358c1010edaSGreg Roach            '3',
3359c1010edaSGreg Roach            '3',
3360c1010edaSGreg Roach            '4',
3361c1010edaSGreg Roach            '4',
3362c1010edaSGreg Roach            '4',
3363c1010edaSGreg Roach        ],
3364a25f0a04SGreg Roach        // Arabic alphabet
3365c1010edaSGreg Roach        'ا'       => [
3366c1010edaSGreg Roach            '1',
3367c1010edaSGreg Roach            '0',
3368c1010edaSGreg Roach            '',
3369c1010edaSGreg Roach            '',
3370c1010edaSGreg Roach        ],
3371c1010edaSGreg Roach        'ب'       => [
3372c1010edaSGreg Roach            '0',
3373c1010edaSGreg Roach            '7',
3374c1010edaSGreg Roach            '7',
3375c1010edaSGreg Roach            '7',
3376c1010edaSGreg Roach        ],
3377c1010edaSGreg Roach        'ت'       => [
3378c1010edaSGreg Roach            '0',
3379c1010edaSGreg Roach            '3',
3380c1010edaSGreg Roach            '3',
3381c1010edaSGreg Roach            '3',
3382c1010edaSGreg Roach        ],
3383c1010edaSGreg Roach        'ث'       => [
3384c1010edaSGreg Roach            '0',
3385c1010edaSGreg Roach            '3',
3386c1010edaSGreg Roach            '3',
3387c1010edaSGreg Roach            '3',
3388c1010edaSGreg Roach        ],
3389c1010edaSGreg Roach        'ج'       => [
3390c1010edaSGreg Roach            '0',
3391c1010edaSGreg Roach            '4',
3392c1010edaSGreg Roach            '4',
3393c1010edaSGreg Roach            '4',
3394c1010edaSGreg Roach        ],
3395c1010edaSGreg Roach        'ح'       => [
3396c1010edaSGreg Roach            '0',
3397c1010edaSGreg Roach            '5',
3398c1010edaSGreg Roach            '5',
3399c1010edaSGreg Roach            '5',
3400c1010edaSGreg Roach        ],
3401c1010edaSGreg Roach        'خ'       => [
3402c1010edaSGreg Roach            '0',
3403c1010edaSGreg Roach            '5',
3404c1010edaSGreg Roach            '5',
3405c1010edaSGreg Roach            '5',
3406c1010edaSGreg Roach        ],
3407c1010edaSGreg Roach        'د'       => [
3408c1010edaSGreg Roach            '0',
3409c1010edaSGreg Roach            '3',
3410c1010edaSGreg Roach            '3',
3411c1010edaSGreg Roach            '3',
3412c1010edaSGreg Roach        ],
3413c1010edaSGreg Roach        'ذ'       => [
3414c1010edaSGreg Roach            '0',
3415c1010edaSGreg Roach            '3',
3416c1010edaSGreg Roach            '3',
3417c1010edaSGreg Roach            '3',
3418c1010edaSGreg Roach        ],
3419c1010edaSGreg Roach        'ر'       => [
3420c1010edaSGreg Roach            '0',
3421c1010edaSGreg Roach            '9',
3422c1010edaSGreg Roach            '9',
3423c1010edaSGreg Roach            '9',
3424c1010edaSGreg Roach        ],
3425c1010edaSGreg Roach        'ز'       => [
3426c1010edaSGreg Roach            '0',
3427c1010edaSGreg Roach            '4',
3428c1010edaSGreg Roach            '4',
3429c1010edaSGreg Roach            '4',
3430c1010edaSGreg Roach        ],
3431c1010edaSGreg Roach        'س'       => [
3432c1010edaSGreg Roach            '0',
3433c1010edaSGreg Roach            '4',
3434c1010edaSGreg Roach            '4',
3435c1010edaSGreg Roach            '4',
3436c1010edaSGreg Roach        ],
3437c1010edaSGreg Roach        'ش'       => [
3438c1010edaSGreg Roach            '0',
3439c1010edaSGreg Roach            '4',
3440c1010edaSGreg Roach            '4',
3441c1010edaSGreg Roach            '4',
3442c1010edaSGreg Roach        ],
3443c1010edaSGreg Roach        'ص'       => [
3444c1010edaSGreg Roach            '0',
3445c1010edaSGreg Roach            '4',
3446c1010edaSGreg Roach            '4',
3447c1010edaSGreg Roach            '4',
3448c1010edaSGreg Roach        ],
3449c1010edaSGreg Roach        'ض'       => [
3450c1010edaSGreg Roach            '0',
3451c1010edaSGreg Roach            '3',
3452c1010edaSGreg Roach            '3',
3453c1010edaSGreg Roach            '3',
3454c1010edaSGreg Roach        ],
3455c1010edaSGreg Roach        'ط'       => [
3456c1010edaSGreg Roach            '0',
3457c1010edaSGreg Roach            '3',
3458c1010edaSGreg Roach            '3',
3459c1010edaSGreg Roach            '3',
3460c1010edaSGreg Roach        ],
3461c1010edaSGreg Roach        'ظ'       => [
3462c1010edaSGreg Roach            '0',
3463c1010edaSGreg Roach            '4',
3464c1010edaSGreg Roach            '4',
3465c1010edaSGreg Roach            '4',
3466c1010edaSGreg Roach        ],
3467c1010edaSGreg Roach        'ع'       => [
3468c1010edaSGreg Roach            '1',
3469c1010edaSGreg Roach            '0',
3470c1010edaSGreg Roach            '',
3471c1010edaSGreg Roach            '',
3472c1010edaSGreg Roach        ],
3473c1010edaSGreg Roach        'غ'       => [
3474c1010edaSGreg Roach            '0',
3475c1010edaSGreg Roach            '0',
3476c1010edaSGreg Roach            '',
3477c1010edaSGreg Roach            '',
3478c1010edaSGreg Roach        ],
3479c1010edaSGreg Roach        'ف'       => [
3480c1010edaSGreg Roach            '0',
3481c1010edaSGreg Roach            '7',
3482c1010edaSGreg Roach            '7',
3483c1010edaSGreg Roach            '7',
3484c1010edaSGreg Roach        ],
3485c1010edaSGreg Roach        'ق'       => [
3486c1010edaSGreg Roach            '0',
3487c1010edaSGreg Roach            '5',
3488c1010edaSGreg Roach            '5',
3489c1010edaSGreg Roach            '5',
3490c1010edaSGreg Roach        ],
3491c1010edaSGreg Roach        'ك'       => [
3492c1010edaSGreg Roach            '0',
3493c1010edaSGreg Roach            '5',
3494c1010edaSGreg Roach            '5',
3495c1010edaSGreg Roach            '5',
3496c1010edaSGreg Roach        ],
3497c1010edaSGreg Roach        'ل'       => [
3498c1010edaSGreg Roach            '0',
3499c1010edaSGreg Roach            '8',
3500c1010edaSGreg Roach            '8',
3501c1010edaSGreg Roach            '8',
3502c1010edaSGreg Roach        ],
3503c1010edaSGreg Roach        'لا'      => [
3504c1010edaSGreg Roach            '0',
3505c1010edaSGreg Roach            '8',
3506c1010edaSGreg Roach            '8',
3507c1010edaSGreg Roach            '8',
3508c1010edaSGreg Roach        ],
3509c1010edaSGreg Roach        'م'       => [
3510c1010edaSGreg Roach            '0',
3511c1010edaSGreg Roach            '6',
3512c1010edaSGreg Roach            '6',
3513c1010edaSGreg Roach            '6',
3514c1010edaSGreg Roach        ],
3515c1010edaSGreg Roach        'ن'       => [
3516c1010edaSGreg Roach            '0',
3517c1010edaSGreg Roach            '6',
3518c1010edaSGreg Roach            '6',
3519c1010edaSGreg Roach            '6',
3520c1010edaSGreg Roach        ],
3521c1010edaSGreg Roach        'هن'      => [
3522c1010edaSGreg Roach            '0',
3523c1010edaSGreg Roach            '66',
3524c1010edaSGreg Roach            '66',
3525c1010edaSGreg Roach            '66',
3526c1010edaSGreg Roach        ],
3527c1010edaSGreg Roach        'ه'       => [
3528c1010edaSGreg Roach            '0',
3529c1010edaSGreg Roach            '5',
3530c1010edaSGreg Roach            '5',
3531c1010edaSGreg Roach            '',
3532c1010edaSGreg Roach        ],
3533c1010edaSGreg Roach        'و'       => [
3534c1010edaSGreg Roach            '1',
3535c1010edaSGreg Roach            '',
3536c1010edaSGreg Roach            '',
3537c1010edaSGreg Roach            '',
3538c1010edaSGreg Roach            '7',
3539c1010edaSGreg Roach            '',
3540c1010edaSGreg Roach            '',
3541c1010edaSGreg Roach        ],
3542c1010edaSGreg Roach        'ي'       => [
3543c1010edaSGreg Roach            '0',
3544c1010edaSGreg Roach            '1',
3545c1010edaSGreg Roach            '',
3546c1010edaSGreg Roach            '',
3547c1010edaSGreg Roach        ],
3548c1010edaSGreg Roach        'آ'       => [
3549c1010edaSGreg Roach            '0',
3550c1010edaSGreg Roach            '1',
3551c1010edaSGreg Roach            '',
3552c1010edaSGreg Roach            '',
3553c1010edaSGreg Roach        ],
3554c1010edaSGreg Roach        'ة'       => [
3555c1010edaSGreg Roach            '0',
3556c1010edaSGreg Roach            '',
3557c1010edaSGreg Roach            '',
3558c1010edaSGreg Roach            '3',
3559c1010edaSGreg Roach        ],
3560c1010edaSGreg Roach        'ی'       => [
3561c1010edaSGreg Roach            '0',
3562c1010edaSGreg Roach            '1',
3563c1010edaSGreg Roach            '',
3564c1010edaSGreg Roach            '',
3565c1010edaSGreg Roach        ],
3566c1010edaSGreg Roach        'ى'       => [
3567c1010edaSGreg Roach            '1',
3568c1010edaSGreg Roach            '1',
3569c1010edaSGreg Roach            '',
3570c1010edaSGreg Roach            '',
3571c1010edaSGreg Roach        ],
357213abd6f3SGreg Roach    ];
3573a25f0a04SGreg Roach
3574a25f0a04SGreg Roach    /**
357576692c8bSGreg Roach     * Calculate the Daitch-Mokotoff soundex for a word.
357676692c8bSGreg Roach     *
3577a25f0a04SGreg Roach     * @param string $name
3578a25f0a04SGreg Roach     *
3579a25f0a04SGreg Roach     * @return string[] List of possible DM codes for the word.
3580a25f0a04SGreg Roach     */
35818f53f488SRico Sonntag    private static function daitchMokotoffWord($name): array
3582c1010edaSGreg Roach    {
3583a25f0a04SGreg Roach        // Apply special transformation rules to the input string
3584a25f0a04SGreg Roach        $name = I18N::strtoupper($name);
3585a25f0a04SGreg Roach        foreach (self::$transformNameTable as $transformRule) {
3586a25f0a04SGreg Roach            $name = str_replace($transformRule[0], $transformRule[1], $name);
3587a25f0a04SGreg Roach        }
3588a25f0a04SGreg Roach
3589a25f0a04SGreg Roach        // Initialize
3590a25f0a04SGreg Roach        $name_script = I18N::textScript($name);
3591a25f0a04SGreg Roach        $noVowels    = ($name_script == 'Hebr' || $name_script == 'Arab');
3592a25f0a04SGreg Roach
3593a25f0a04SGreg Roach        $lastPos         = strlen($name) - 1;
3594a25f0a04SGreg Roach        $currPos         = 0;
3595a25f0a04SGreg Roach        $state           = 1; // 1: start of input string, 2: before vowel, 3: other
359613abd6f3SGreg Roach        $result          = []; // accumulate complete 6-digit D-M codes here
359713abd6f3SGreg Roach        $partialResult   = []; // accumulate incomplete D-M codes here
359813abd6f3SGreg Roach        $partialResult[] = ['!']; // initialize 1st partial result  ('!' stops "duplicate sound" check)
3599a25f0a04SGreg Roach
3600a25f0a04SGreg Roach        // Loop through the input string.
3601a25f0a04SGreg Roach        // Stop when the string is exhausted or when no more partial results remain
3602a25f0a04SGreg Roach        while (count($partialResult) !== 0 && $currPos <= $lastPos) {
3603a25f0a04SGreg Roach            // Find the DM coding table entry for the chunk at the current position
3604a25f0a04SGreg Roach            $thisEntry = substr($name, $currPos, self::MAXCHAR); // Get maximum length chunk
3605a25f0a04SGreg Roach            while ($thisEntry != '') {
3606a25f0a04SGreg Roach                if (isset(self::$dmsounds[$thisEntry])) {
3607a25f0a04SGreg Roach                    break;
3608a25f0a04SGreg Roach                }
3609a25f0a04SGreg Roach                $thisEntry = substr($thisEntry, 0, -1); // Not in table: try a shorter chunk
3610a25f0a04SGreg Roach            }
3611a25f0a04SGreg Roach            if ($thisEntry === '') {
3612a25f0a04SGreg Roach                $currPos++; // Not in table: advance pointer to next byte
3613a25f0a04SGreg Roach                continue; // and try again
3614a25f0a04SGreg Roach            }
3615a25f0a04SGreg Roach
3616a25f0a04SGreg Roach            $soundTableEntry = self::$dmsounds[$thisEntry];
3617a25f0a04SGreg Roach            $workingResult   = $partialResult;
361813abd6f3SGreg Roach            $partialResult   = [];
3619a25f0a04SGreg Roach            $currPos += strlen($thisEntry);
3620a25f0a04SGreg Roach
3621a25f0a04SGreg Roach            // Not at beginning of input string
3622a25f0a04SGreg Roach            if ($state != 1) {
3623a25f0a04SGreg Roach                if ($currPos <= $lastPos) {
3624a25f0a04SGreg Roach                    // Determine whether the next chunk is a vowel
3625a25f0a04SGreg Roach                    $nextEntry = substr($name, $currPos, self::MAXCHAR); // Get maximum length chunk
3626a25f0a04SGreg Roach                    while ($nextEntry != '') {
3627a25f0a04SGreg Roach                        if (isset(self::$dmsounds[$nextEntry])) {
3628a25f0a04SGreg Roach                            break;
3629a25f0a04SGreg Roach                        }
3630a25f0a04SGreg Roach                        $nextEntry = substr($nextEntry, 0, -1); // Not in table: try a shorter chunk
3631a25f0a04SGreg Roach                    }
3632a25f0a04SGreg Roach                } else {
3633a25f0a04SGreg Roach                    $nextEntry = '';
3634a25f0a04SGreg Roach                }
3635a25f0a04SGreg Roach                if ($nextEntry != '' && self::$dmsounds[$nextEntry][0] != '0') {
3636a25f0a04SGreg Roach                    $state = 2;
3637a25f0a04SGreg Roach                } else {
3638a25f0a04SGreg Roach                    // Next chunk is a vowel
3639a25f0a04SGreg Roach                    $state = 3;
3640a25f0a04SGreg Roach                }
3641a25f0a04SGreg Roach            }
3642a25f0a04SGreg Roach
3643a25f0a04SGreg Roach            while ($state < count($soundTableEntry)) {
3644a25f0a04SGreg Roach                // empty means 'ignore this sound in this state'
3645a25f0a04SGreg Roach                if ($soundTableEntry[$state] == '') {
3646a25f0a04SGreg Roach                    foreach ($workingResult as $workingEntry) {
3647a25f0a04SGreg Roach                        $tempEntry                        = $workingEntry;
3648a25f0a04SGreg Roach                        $tempEntry[count($tempEntry) - 1] .= '!'; // Prevent false 'doubles'
3649a25f0a04SGreg Roach                        $partialResult[]                  = $tempEntry;
3650a25f0a04SGreg Roach                    }
3651a25f0a04SGreg Roach                } else {
3652a25f0a04SGreg Roach                    foreach ($workingResult as $workingEntry) {
3653a25f0a04SGreg Roach                        if ($soundTableEntry[$state] !== $workingEntry[count($workingEntry) - 1]) {
3654a25f0a04SGreg Roach                            // Incoming sound isn't a duplicate of the previous sound
3655a25f0a04SGreg Roach                            $workingEntry[] = $soundTableEntry[$state];
3656a25f0a04SGreg Roach                        } else {
3657a25f0a04SGreg Roach                            // Incoming sound is a duplicate of the previous sound
3658a25f0a04SGreg Roach                            // For Hebrew and Arabic, we need to create a pair of D-M sound codes,
3659a25f0a04SGreg Roach                            // one of the pair with only a single occurrence of the duplicate sound,
3660a25f0a04SGreg Roach                            // the other with both occurrences
3661a25f0a04SGreg Roach                            if ($noVowels) {
3662a25f0a04SGreg Roach                                $workingEntry[] = $soundTableEntry[$state];
3663a25f0a04SGreg Roach                            }
3664a25f0a04SGreg Roach                        }
3665a25f0a04SGreg Roach                        if (count($workingEntry) < 7) {
3666a25f0a04SGreg Roach                            $partialResult[] = $workingEntry;
3667a25f0a04SGreg Roach                        } else {
3668a25f0a04SGreg Roach                            // This is the 6th code in the sequence
3669a25f0a04SGreg Roach                            // We're looking for 7 entries because the first is '!' and doesn't count
3670a25f0a04SGreg Roach                            $tempResult = str_replace('!', '', implode('', $workingEntry));
3671a25f0a04SGreg Roach                            // Only return codes from recognisable sounds
3672a25f0a04SGreg Roach                            if ($tempResult) {
3673a25f0a04SGreg Roach                                $result[] = substr($tempResult . '000000', 0, 6);
3674a25f0a04SGreg Roach                            }
3675a25f0a04SGreg Roach                        }
3676a25f0a04SGreg Roach                    }
3677a25f0a04SGreg Roach                }
3678a25f0a04SGreg Roach                $state = $state + 3; // Advance to next triplet while keeping the same basic state
3679a25f0a04SGreg Roach            }
3680a25f0a04SGreg Roach        }
3681a25f0a04SGreg Roach
3682a25f0a04SGreg Roach        // Zero-fill and copy all remaining partial results
3683a25f0a04SGreg Roach        foreach ($partialResult as $workingEntry) {
3684a25f0a04SGreg Roach            $tempResult = str_replace('!', '', implode('', $workingEntry));
3685a25f0a04SGreg Roach            // Only return codes from recognisable sounds
3686a25f0a04SGreg Roach            if ($tempResult) {
3687a25f0a04SGreg Roach                $result[] = substr($tempResult . '000000', 0, 6);
3688a25f0a04SGreg Roach            }
3689a25f0a04SGreg Roach        }
3690a25f0a04SGreg Roach
3691a25f0a04SGreg Roach        return $result;
3692a25f0a04SGreg Roach    }
3693a25f0a04SGreg Roach}
3694