File: README.replacetable

package info (click to toggle)
aspell 0.60.8.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,336 kB
  • sloc: cpp: 24,378; sh: 12,340; perl: 1,924; ansic: 1,661; makefile: 852; sed: 16
file content (25 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
We can define language-dependent phonetic information
in the affix file (.aff)  by a replacement table. With this 
table, MySpell can suggest the right forms for the typical 
faults of spelling when the incorrect form differs by more, 
than 1 letter from the right form.

Replacement table syntax:

REP [number_of_replacement_definitions]
REP [what] [replacement]
REP [what] [replacement]
...

For example a possible English replacement table definition
to handle misspelt consonants:

REP 8
REP f ph
REP ph f
REP f gh
REP gh f
REP j dg
REP dg j
REP k ch
REP ch k