2 KEY qwertyuiop|asdfghjkl|zxcvbnm
3 TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ'-
6 # ordinal numbers (1st, 2nd, 3th, 11th) and decads (0s, 10s, 1990s)
8 # only in compounds: 1th, 2th, 3th
11 # 1. [0-9]*1[0-9]th (10th, 11th, 12th, 56714th, etc.)
12 # 2. [0-9]*[02-9](1st|2nd|3rd|[4-9]th) (21st, 22nd, 123rd, 1234th, etc.)
76 SFX T y iest [^aeiou]y
88 SFX Z y iers [^aeiou]y
99 SFX P y iness [^aeiou]y
100 SFX P 0 ness [aeiou]y
107 SFX B 0 able [^aeiou]
109 SFX B e able [^aeiou]e
117 REP avengence a_vengeance
213 # PHONEtic_english.h - #PHONEtic transformation rules for use with #PHONEtic.c
214 # Copyright (C) 2000 Björn Jacke
216 # This rule set is based on Lawrence Phillips original metaPHONE
217 # algorithm with modifications made by Michael Kuhn in his
218 # C implantation, more modifications by Björn Jacke when
219 # converting the algorithm to a rule set and minor
220 # touch ups by Kevin Atkinson
222 # This library is free software; you can redistribute it and/or
223 # modify it under the terms of the GNU Lesser General Public
224 # License version 2.1 as published by the Free Software Foundation;
226 # This library is distributed in the hope that it will be useful,
227 # but WITHOUT ANY WARRANTY; without even the implied warranty of
228 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
229 # Lesser General Public License for more details.
231 # You should have received a copy of the GNU Lesser General Public
232 # License along with this library; if not, write to the Free Software
233 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
235 # Björn Jacke may be reached by email at bjoern.jacke@gmx.de
239 # 2000-01-05 Björn Jacke <bjoern.jacke@gmx.de>
240 # - first version with translation rules derived from
241 # metaPHONE.cc distributed with aspell 0.28.3
242 # - "TH" is now representated as "@" because "0" is a
244 # - removed TH(!vowel) --> T; always use TH --> # instead
245 # - dropped "^AE" -> "E" (redundant)
246 # - "ing" is transformed to "N", not "NK"
247 # - "SCH(EO)" transforms to "SK" now
248 # - added R --> SILENT if (after a vowel) and no (vowel or
249 # "y" follows) like in "Marcy" or "abort"
250 # - H is SILENT in RH at beginning of words
251 # - H is SILENT if vowel leads and "Y" follows
252 # - some ".OUGH.." --> ...F exceptions added
253 # - "^V" transforms to "W"
254 # 2000-01-07 Kevin Atkinson <kevinatk@home.com>
255 # Converted from header to data file.
257 # 2007-08-23 László Németh <nemeth AT OOo>
258 # Add PHONE header and #PHONE keywords
262 # Documentation: http://aspell.net/man-html/PHONEtic-Code.html
265 PHONE AH(AEIOUY)-^ *H
266 PHONE AR(AEIOUY)-^ *R
286 PHONE EH(AEIOUY)-^ *H
287 PHONE ER(AEIOUY)-^ *R
305 PHONE IH(AEIOUY)-^ *H
306 PHONE IR(AEIOUY)-^ *R
325 PHONE OH(AEIOUY)-^ *H
326 PHONE OR(AEIOUY)-^ *R
353 PHONE UH(AEIOUY)-^ *H
354 PHONE UR(AEIOUY)-^ *R
371 #The rules in a different view:
375 # Beginning of word: "gn", "kn-", "pn-", "wr-" ----> drop first letter
376 # "Aebersold", "Gnagy", "Knuth", "Pniewski", "Wright"
378 # Beginning of word: "x" ----> change to "s"
379 # as in "Deng Xiaopeng"
381 # Beginning of word: "wh-" ----> change to "w"
383 # Beginning of word: leading vowels are transformed to "*"
385 # "[crt]ough" and "enough" are handled separately because of "F" sound
388 # A --> A at beginning
391 # B --> B unless at the end of word after "m", as in "dumb", "McComb"
393 # C --> X (sh) if "-cia-" or "-ch-"
394 # S if "-ci-", "-ce-", or "-cy-"
395 # SILENT if "-sci-", "-sce-", or "-scy-", or "-cq-"
396 # K otherwise, including in "-sch-"
398 # D --> K if in "-dge-", "-dgy-", or "-dgi-"
401 # E --> A at beginnig
406 # G --> SILENT if in "-gh-" and not at end or before a vowel
407 # in "-gn" or "-gned" or "-gns"
408 # in "-dge-" etc., as in above rule
409 # K if before "i", or "e", or "y" if not double "gg"
411 # K otherwise (incl. "GG"!)
413 # H --> SILENT if after vowel and no vowel or "Y" follows
414 # or after "-ch-", "-sh-", "-ph-", "-th-", "-gh-"
415 # or after "rh-" at beginning
418 # I --> A at beginning
423 # K --> SILENT if after "c"
432 # O --> A at beginning
435 # P --> F if before "h"
440 # R --> SILENT if after vowel and no vowel or "Y" follows
443 # S --> X (sh) if before "h" or in "-sio-" or "-sia-"
444 # SK if followed by "ch(eo)" (SCH(EO))
447 # T --> X (sh) if "-tia-" or "-tio-"
448 # 0 (th) if before "h"
449 # silent if in "-tch-"
452 # U --> A at beginning
455 # V --> V if first letter of word
458 # W --> SILENT if not followed by a vowel
459 # W if followed by a vowel
463 # Y --> SILENT if not followed by a vowel
464 # Y if followed by a vowel