Saturday, November 17, 2007

Using Telugu Spell Checker in Fedora 8

Spell checking in telugu language is pretty easy in Linux, you can install the 'aspell' telugu sets and start spell checking. Below are the steps to do on a Fedora 8 System.

1. Install the aspell-te package if you haven't done it already


nareshv@fallenangel $ sudo yum install aspell-te -y

nareshv@fallenangel $ rpm -qi aspell-te
Name : aspell-te Relocations: (not relocatable)
Version : 0.01 Vendor: Fedora Project
Release : 2.fc8 Build Date: Mon 10 Sep 2007 05:27:41 PM IST
Install Date: Mon 12 Nov 2007 06:34:46 PM IST Build Host: hammer2.fedora.redhat.com
Group : Applications/Text Source RPM: aspell-te-0.01-2.fc8.src.rpm
Size : 2355665 License: GPLv2+
Signature : DSA/SHA1, Thu 25 Oct 2007 03:31:26 AM IST, Key ID b44269d04f2a6fd2
Packager : Fedora Project
URL : http://aspell.net/
Summary : GNU Aspell Telugu Dictionary Package
Description :
GNU Aspell Telugu Dictionary Package

nareshv@fallenangel $ rpm -ql aspell-te
/usr/lib/aspell-0.60/te.dat
/usr/lib/aspell-0.60/te.multi
/usr/lib/aspell-0.60/te.rws
/usr/lib/aspell-0.60/telugu.alias
/usr/lib/aspell-0.60/u-telu.cmap
/usr/lib/aspell-0.60/u-telu.cset
/usr/share/doc/aspell-te-0.01
/usr/share/doc/aspell-te-0.01/COPYING
/usr/share/doc/aspell-te-0.01/Copyright



After the package is installed, try creating a sample telugu document

Below image explains the sample document.



Now run the aspell command like below


[nareshv@fallenangel Desktop]$ cp telugu.txt telugu2.txt
[nareshv@fallenangel Desktop]$ aspell -l te -c telugu2.txt
[nareshv@fallenangel Desktop]$ gedit telugu2.txt
[nareshv@fallenangel Desktop]$


See the changes in the below image




Its very easy to run the aspell on any text document which is in telugu.

You can download the wordlist that is used in the latest aspell version here.

For the impatient this is the direct link (te.wl.gz)

3 comments:

  1. Dear Naresh I tried opening the said file but no file extension is able to do the job for me. Could you kidly be able to help me?
    I live in Delhi and my e mail id is krishnamaitri@yahoo.ci. or krishnamaitri@gmail.com
    Thank you.

    ReplyDelete
  2. You can open with any editor that can understand utf-8. For example, notepad++, wordpad

    ReplyDelete