Node: Format of the Personal and Replacement Dictionaries, Next: , Previous: Working With Affix Info in Word Lists, Up: Working With Dictionaries



Format of the Personal and Replacement Dictionaries

Format of the Personal Dictionary

The personal dictionary generally has a name of the form:

     .aspell.lang.pws
     

The file has a header line of the form:

     personal_ws-1.1 lang num
     

where num is the number of words in the list. This number is only used as a hint, and thus does not have to be accurate. When creating a new dictionary it is perfectly acceptable for num to be 0.

The rest of the file is simply a word list with one line per word.

Format of the Personal Replacement Dictionary

The personal replacement dictionary generally has a name of the form:

     .aspell.lang.prepl
     

The file has a header line of the form:

     personal_repl-1.1 lang num
     

where num is currently unused and thus always 0.

The rest of the file is simply of replacements with one replacement per line with each replacement pair has the following format:

     misspelled_word correction