Install OpenOffice Khmer Spell Checker on Debian

Finally, the amazing team from KhmerOS has realeased the Khmer Spell Checker (KSC) for OpenOffice. Here is the instruction for installing KSC on Debian (Lenny) system.

  1. Download the package from:
  2. Unzip it:
    $ unzip
  3. Change to that directory:
    $ cd Khmer\ Spellchecker\ v1.0/
  4. Become the super user:
    $ su
    Password: (enter your root password)
  5. Copy two files: km_KH.aff km_KH.dic to OOo’s dict directory:
    # cp km_* /usr/lib/openoffice/share/dict/ooo
    The above directory could be slighty different from one system to another.
  6. As a root, use your favorite text editor to edit `dictionary.lst’ file, I’m using vim:
    # vim /etc/openoffice/dictionary.lst
  7. Scroll down to the bottom of the page and add: DICT km KH km_KH
    DICT km KH km_KH
  8. Save the file (dictionary.lst)

You’re almost done, so hang on there. We need to change some settings in OpenOffice program itself.

  1. Open Writer from the menu
  2. From the Tools men, select Options
  3. Click on the + sign infront of Langauge Settings to expand it, then click on “Languages”
  4. Under the “Enhanced language support” section, check the box “Enable for complex text layout (CTL)”
  5. Then from the CTL dropdown box, select “Khmer”
  6. Click, OK and you’re done (Figure 1). Thanks to Soben for the tip.

Khmer spell checker setting

Figure 1 – Enable Khmer spell checker in Writer


Example of Khmer spell checker

Figure 2 – Example of Khmer spell checker in action



Once again, a big applause and thank to the hard work of KhmerOS team, and Soben for the setting tip in Writer.

Back link: Need help installing Khmer spell checker


4 thoughts on “Install OpenOffice Khmer Spell Checker on Debian

  1. Today, I went to the beach with my children. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed.

    There was a hermit crab inside and it pinched her ear.

    She never wants to go back! LoL I know this is completely off topic but I had to tell someone!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s