aspell: Format of the Personal and Replacement Dictionaries
1
1 5.7 Format of the Personal and Replacement Dictionaries
1 =======================================================
1
1 5.7.1 Format of the Personal Dictionary
1 ---------------------------------------
1
1 The personal dictionary generally has a filename of the form:
1
1 .aspell.LANG.pws
1
1 And the file itself contains two parts. The first part is a header
1 line of the form:
1
1 personal_ws-1.1 LANG NUM [ENCODING]
1
1 where NUM is the number of words in the list. This number is only used
1 as a hint, and thus does not have to be accurate. When creating a new
1 dictionary it is perfectly acceptable for NUM to be 0. The ENCODING is
1 optional and specifies the encoding of the word list. If it is left
1 out the encoding is expected to be in the default encoding for the
11 language as specified by the `data-encoding' option. ⇒
data-encoding.
1
1 The second part of simply a word list with one word per line.
1
1 5.7.2 Format of the Personal Replacement Dictionary
1 ---------------------------------------------------
1
1 The personal replacement dictionary generally has a filename of the
1 form:
1
1 .aspell.LANG.prepl
1
1 And the file itself contains two parts. The first part is a header
1 line of the form:
1
1 personal_repl-1.1 LANG NUM [ENCODING]
1
1 where NUM is currently unused and thus always 0. As with the personal
1 dictionary the ENCODING is optional.
1
1 The second part simply a list of replacements with one replacement
1 per line with each replacement pair has the following format:
1
1 MISSPELLED_WORD CORRECTION
1