Results 1 to 1 of 1

Thread: Script to extend the spell dictionary

Threaded View

  1. #1
    Join Date
    Dec 2005
    Posts
    150
    Rep Power
    10

    Default Script to extend the spell dictionary

    It is quite easy to extend Zimbra's spell dictionary word list. Aspell needs a file in the user's home directory named ".aspell.fr.pws" (for French, replace "fr" with the language of your choice) containing a header and a word list, one word per line. Words with special characters must be encoded in ISO-8859-1.

    I wrote a small python script to generate this file. Actually, the file is created in /tmp/dict.txt and has to be moved manually to /opt/zimbra/.aspell.fr.pws and then 'chown zimbra:zimbra .aspell.fr.pws'.

    The scripts takes a file with a word list as argument and generates the proper aspell file. If the file is in UTF-8, it will automatically convert it to ISO-8859-1.

    As usual, all suggestions and improvements are welcome.

    The script is enclosed but can also be downloaded from Fichiers WHM

    Carlos
    Attached Files Attached Files
    Last edited by cvidal; 10-30-2007 at 12:19 PM.

Similar Threads

  1. Zimbra Backup Script ... Small Problem
    By frankb in forum Administrators
    Replies: 12
    Last Post: 07-14-2008, 09:40 AM
  2. OSE rotating backup script
    By reckless2k2 in forum Installation
    Replies: 1
    Last Post: 07-04-2007, 05:55 AM
  3. Warning: Unresponsive script
    By yetdog in forum Administrators
    Replies: 5
    Last Post: 04-03-2006, 01:15 PM
  4. ZimbraOsXAutoLauncher StartupItems Script & extras
    By s3nz3x in forum Installation
    Replies: 5
    Last Post: 11-28-2005, 06:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •