Was this page helpful?

Add words to the aspell Dictionary

    Table of contents
    No headers


    Note: Aspell only works on the Linux version of MindTouch and this tutorial is specific to the English dictionary

     

    Create a txt file with the words that you'd like to add to the dictionary, where each word is on a separate line then run the following command:

    aspell --lang=en create master ./custom.rws < test.txt

    This will create a file called custom.rws that will contain the aspell encoded word(s) for the dictionary.  You can name the file anything you want as long as the extension is .rws.  Now to add this to the dictionary move the custom.rws file to the dictionary location which is /usr/lib/aspell by running the following command:

    cp custom.rws /usr/lib/aspell/
    

    To finish adding it to the dictionary change into the dictionary directory by running the following:

    cd /usr/lib/aspell/

    then edit the following file:

    nano en_US.multi
    

    and add the following line:

    add custom.rws
    

    Then refresh your MindTouch Deki page and run the spell check and the spell check will ignore the words that were added in your list. 

    Was this page helpful?
    Tag page
    Viewing 2 of 2 comments: view all
    I have Aspell install on Windows Server 2003 and this process works the same. Only the directories are different.
    Posted 09:06, 21 Jan 2009
    Depending on what OS you are on the directory for the location of the dictionary will vary. Ex, I'm working on a CentOS install that stores it here:
    /usr/lib64/aspell-0.60
    as it is a 64 bit install.
    Posted 09:56, 16 Mar 2009
    Viewing 2 of 2 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by