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:
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
Summary : GNU Aspell Telugu Dictionary Package
Description :
GNU Aspell Telugu Dictionary Package

nareshv@fallenangel $ rpm -ql aspell-te

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)

Saturday, November 03, 2007

blueman rpm for Fedora 8

yesterday i was searching for a good front end software which helps in using the bluetooth easy in the gnome desktop environment. after searching in yahoo, found the software The software is really cool and is written in python.

Using blueman after extracting it from source is pretty easy. But in order to use all the features you need to have btsco/libsbc and btsco kernel modules.

In order to maintain the software easy on RPM based systems, i'd created a spec file and created the rpm. The spec file is here

# Spec file written and maintained by naresh , cyan_00391 At yahoo dot co dot in
Summary: Bluetooth Manager for GNOME Desktop
Name: blueman
Version: 0.19
Release: 2%{?dist}
License: GPL
Group: Applications/Accessories
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: gcc
Requires: pybluez gnome-bluetooth dbus-python
Requires: bluez-utils > 3.9
## bluetooth-alsa-btsco, libsbc and dkms-btsco are built by me for fc8
## and are not widely available in fedora world. Not sure where to put
## these packages/spec files
Requires: bluetooth-alsa-btsco
Requires: libsbc
Requires: dkms-btsco
Packager: Naresh Kumar

Blueman is a GTK+ bluetooth management utility for GNOME using bluez dbus backend.
The aim is to create a full featured graphical bluetooth manager for Linux.


* Easy to use interface
* Storing Favourite devices
* Send files
* Browse files on devices
* List all seen devices
* View Local/Remote Device information
* Configure local devices
* Manage Pairing (Bonding)
* Host/Connect to Personal Area Networks
* Bind services to /dev/rfcomm ports, for eg. connecting via gprs
* Connect to Bluetooth headsets and use them as ALSA audio devices.

%setup -n blueman-%{version}


%{__rm} -rf %{buildroot}


%defattr(-, root, root, 0755)
%exclude /usr/share/applications

* Wed Nov 2 2007 Naresh 0.19.2-fc8
- Cleaned up the code a bit.

* Wed Nov 2 2007 Naresh 0.19.1-fc8
- Initial Revision

Although this says btsco and libsbc as prerequisites, you can easily build the rpm by just downloading the source files from the blueman home page download link