3 <title>Replacement Tables - GNU Aspell 0.60.6.1</title>
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5 <meta name="description" content="Aspell 0.60.6.1 spell checker user's manual.">
6 <meta name="generator" content="makeinfo 4.8">
7 <link title="Top" rel="start" href="index.html#Top">
8 <link rel="up" href="Adding-Support-For-Other-Languages.html#Adding-Support-For-Other-Languages" title="Adding Support For Other Languages">
9 <link rel="prev" href="The-Simple-Soundslike.html#The-Simple-Soundslike" title="The Simple Soundslike">
10 <link rel="next" href="Affix-Compression.html#Affix-Compression" title="Affix Compression">
11 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
13 This is the user's manual for Aspell
15 GNU Aspell is a spell checker designed to eventually replace Ispell.
16 It can either be used as a library or as an independent spell checker.
18 Copyright (C) 2000--2011 Kevin Atkinson.
20 Permission is granted to copy, distribute and/or modify this
21 document under the terms of the GNU Free Documentation License,
22 Version 1.1 or any later version published by the Free Software
23 Foundation; with no Invariant Sections, no Front-Cover Texts and
24 no Back-Cover Texts. A copy of the license is included in the
25 section entitled "GNU Free Documentation License".
27 <meta http-equiv="Content-Style-Type" content="text/css">
28 <style type="text/css"><!--
29 pre.display { font-family:inherit }
30 pre.format { font-family:inherit }
31 pre.smalldisplay { font-family:inherit; font-size:smaller }
32 pre.smallformat { font-family:inherit; font-size:smaller }
33 pre.smallexample { font-size:smaller }
34 pre.smalllisp { font-size:smaller }
35 span.sc { font-variant:small-caps }
36 span.roman { font-family:serif; font-weight:normal; }
37 span.sansserif { font-family:sans-serif; font-weight:normal; }
43 <a name="Replacement-Tables"></a>
44 Next: <a rel="next" accesskey="n" href="Affix-Compression.html#Affix-Compression">Affix Compression</a>,
45 Previous: <a rel="previous" accesskey="p" href="The-Simple-Soundslike.html#The-Simple-Soundslike">The Simple Soundslike</a>,
46 Up: <a rel="up" accesskey="u" href="Adding-Support-For-Other-Languages.html#Adding-Support-For-Other-Languages">Adding Support For Other Languages</a>
50 <h3 class="section">7.5 Replacement Tables</h3>
52 <p>When phonetic code is not used a replacement table can be used instead.
53 To enable the use of a replacement table add the line <code>repl-table
54 </code><var>lang</var>, in which case the replacement table is excepted to be in
55 the file <samp><var>lang</var><span class="file">_repl.dat</span></samp>. A complete file name can also be
56 specified in place of <var>lang</var>. For compatibility with MySpell the
57 replacement table can also be part of the affix file, in which case
58 <samp><span class="option">repl-table</span></samp> will be <samp><var>lang</var><span class="file">_affix.dat"</span></samp>.
60 <p>Replacement table syntax:
62 <pre class="example"> REP [number_of_replacement_definitions]
63 REP [what] [replacement]
64 REP [what] [replacement]
66 <p>For example a possible English replacement table definition
67 to handle misspelled consonants:
69 <pre class="example"> REP 8