Difference between revisions of "Adding words to existing aspell dictionaries"

(New page: == Summary == It may be necessary to update the Aspell dictionary to contain industry specific word lists. These instructions are to be used when adding words to a specific language is req...)
 
Line 24: Line 24:
 
== Reference word list in en.multi ==
 
== Reference word list in en.multi ==
 
  echo "add yourlist.rws" >> /opt/zimbra/aspell-0.60.6/lib/aspell-0.60/en.multi
 
  echo "add yourlist.rws" >> /opt/zimbra/aspell-0.60.6/lib/aspell-0.60/en.multi
 +
 +
== Test new list ==
 +
Access Zimbra's Aspell spell check at <nowiki>http://mailbox.server.name:7780/aspell.php</nowiki>. 
  
 
{{Article_Footer|5.0.13|2/17/2009}}
 
{{Article_Footer|5.0.13|2/17/2009}}

Revision as of 04:06, 18 February 2009

Summary

It may be necessary to update the Aspell dictionary to contain industry specific word lists. These instructions are to be used when adding words to a specific language is required. To add a new dictionary, see Adding new dictionaries to aspell.

Create file list

Create a file list named yourlist.txt. Add words, one per line, to yourlist.txt.

/tmp/yourlist.txt

malondialdehyde
neuropsychology
Silybin
vagus

Convert file list to an Aspell word list

This command creates an Aspell wordlist with the en language specification:

/opt/zimbra/aspell-0.60.6/bin/./aspell --lang=en create master /tmp/yourlist.rws < /tmp/yourlist.txt

Copy the word list to Aspell

cp /tmp/yourlist.rws /opt/zimbra/aspell-0.60.6/lib/aspell-0.60
chown zimbra:zimbra /opt/zimbra/aspell-0.60.6/lib/aspell-0.60/yourlist.rws

Reference word list in en.multi

echo "add yourlist.rws" >> /opt/zimbra/aspell-0.60.6/lib/aspell-0.60/en.multi

Test new list

Access Zimbra's Aspell spell check at http://mailbox.server.name:7780/aspell.php.

Verified Against: 5.0.13 Date Created: 2/17/2009
Article ID: https://wiki.zimbra.com/index.php?title=Adding_words_to_existing_aspell_dictionaries Date Modified: 2009-02-18



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search