Project Idea – Need a web interface for Tamil TTS

Hello all,


The Tamil TTS system provided by IITM and SSN College of Engineering had one issue. It can convert one tamil string to audio at one time.

Because of this, we can not do parallel conversion. Few full text books took 4-5 hours for conversion. Because of this, we could not make it as a web application for public use.


Mohan helped to make the Tamil TTS Script simpler to process multiple
conversion simultaneously.

Here is the super script that does magics.

Thanks Mohan for your great works.

now, we need to convert this as a web application, so that anyone can
use it easily.

The requirements are below.
1. user registration with gmail
2. user should upload a tamil text file
3. once it is converted, user should receive an email with the link to
the audio file
4. we can keep the audio files for 1 week
5. REPT API support with authentication
6. A queue system

All these will be released in GPL.

If you are interested in doing this, reply here or write to me.


Thanks Nithya! for the great Birthday Gift

Feb 18, was my birthday. Myself and Nithya dont celebrate each others birthday, as all of the days are very precious for us.

I never gifted her anything. She also did not. But, for this time, she wondered me with a great gift.

Yes. It is a Free Software 🙂

She wrote a grammar checker (Conjunction Checker) for Tamil and released on Feb 18, with a nice blog post. It is here in Tamil

It was my decade dream to create a great spell checker for Tamil as a Free Software. Conjunction Checker is one of the big parts of it.

It has too many rules and she read them all, understood, converted as Python code.

It is the awesome birthday gift.

Nithya! You are my best gift. Thanks, is a simple word. It cant express what es I mean.

She is improving it a lot with more rules and testing.

Here is the code –

She made a video about this tool –

Today, She spoke about this in “ILUGC – Indian Linux Users Group – Chennai” Meet. So happy to see her giving a talk in my homeland.

I am working on making it as web application, so that anyone can use it.

Thanks to open-tamil python library for its all great features of handling tamil text easily.

I am seeing Nithya as avid reader, writer, dancer, home maker and now a programmer.

You can read all her books here –

Hoping to see more women contributors like Nithya in the upcoming days.



Indian Linux Users Group Chennai – december 2017 meet – minutes

We had our last meet of the year 2017 on December 9, 2017 at IIT Madras.

Magesh started the show with his experiences on emacs.
He explored the key bindings, buffers and usage of emacs.

Explained on Emacs plugin system
and emacs bundles

Then, Shakthi Kannan explored the NoSQL database Aerospike.
It is useful for faster access and can span upto 128 nodes.
Unlike having a master node, which communicates to other nodes,
it sends info about all the nodes to the clients.
So the clients can directly contact the node where the desired data resides.
It has more optimised for SSD hard disks.

He explained its architecture, how to connect and query, its dashboard,
performance features etc. Get more info here –

Then, Siva explained Bitcoin. He spoke about its history, architecture, mining,
wallets, buying and selling methods, advantages, disadvantages and threats.

Senthil joined with him to explain the internals of Blockchain mechanism.

Then, we continued our discussions at nearby cafteria.

Its is good to meet the old friends of ILUGC.
We had Akilan, Mohan, Shakthi Kannan and Shrini.

We discussed about bitcoin, aadhaar, and other social issues.

Thanks for all the 25 participants and speakers.
Special thanks to students of Jaya Engineering College for their regular support.

More Photos are here

ILUG-C monthly meet – Saturday, 14 Oct 2017


Indian Linux Users Group, Chennai [ ILUGC ] is spreading awareness on
Free/Open Source Software (F/OSS) in Chennai since January 1998.

We usually meet on the second Saturday of every month, and for the
month of October we shall meet on Saturday, October 14, 2017 at 1500

Venue: Classroom No 1,
Aerospace Engineering,
Near Gajendra Circle,
IIT Madras.
Link for the Map:

Time  : OCt 14, 2017  3.00 – 6.00 PM

Talk Details:

Talk – 1

Topic – Install/demo Tamil TTS

Description :
Recently, we found ways to install Tamill TTS provided by IITM donlab
and SSN college of Engineering, Chennai

Here is the install script  –

Will demonstrate the install process

Duration : 30 min

About speaker – T Shrinivasan , Ebooks
publisher at

Talk – 2

Mini workshop using a TelegramBOT to translate strings for

We are dreaming about Maps in Tamil, for long time.

Imagine your mobile phone or GPS device, shows the maps in Tamil,
displays the roads, interesting places in Tamil, It shows routes and
says the street names and directions in Tamil while driving.

The dream can come into real as we have most of the required technologies.
OpenStreetMaps to provide maps, many apps like streetcomplete,
osmcontribute to add streetname and interesting places, Tamil TTS to
say everything in tamil.

The major thing we need is we need all the strings in Tamil.
OSM supports language tags and we can give any string in any language,
along with its translation on other languages.

To enable the translation process of existing strings in OSM, we are
working on a telegram bot. Now, it is easy to contribute to OSM via
translation, with mobile or with web browser.

The bot will be released for public tomorrow with its source code.

It will ask for your osm username, and  then for translate or verify.
The strings will be translated by google translator as first step.
That is not perfect fully. so, we need people to verify it,

You can see a string with its translation. Then say it right or wrong.
once three people confirmed a string it as right, it will be
confirmed. The incorrect strings will be displayed for translation.

Once the strings are completed, they will be uploaded to OSM using a
bot account.

Will release the bot tomorrow.

Come with
your smartphone.
Install Indic Keyboard or Sellinam for Tamil Typing.
Register at

Let us have a translation workshop for

Thanks for the team.

Dinesh Karthik –
Srikanth Logic –
Syed Khaleel Jageer –
Shrinivasan –

Duration – one hour

Topic – 3:

Any lighting talks, QA session, etc.

Entry Free. All are welcome.

Installation script for Tamil Text to speech System

The Tamil TTS system provided by IITM and SSN College of Engineering, has a lengthy installation process.

I have written them here.

It may not be easy to follow and you may find some issues. To make the life easier, I have created shell script, to automate the entire process.

Here it is –

System requirements:

Ubuntu 16.04

How to execute:

git clone

cd tamil-tts-install

Edit the file,

Fill the following details.

DOWNLOAD_PATH=/home/ubuntu/tts/packages #to download the required packages

COMPILE_PATH=/home/ubuntu/tts/compiled # to place the compiled files and folders

Register here and get a username and password



Then, execute the file as


How to convert a text to audio?

export FESTDIR=/usr

cd COMPLIE_PATH ssn_hts_demo/scripts/complete “தமிழ் வாழ்க” linux

This will convert the text and store as wav in


you can play it with any audio player.

The full details of what is on the compile process is explained here.

To hear a demo on how the tamil TTS system sounds, click here

Thanks for IITM Team – Prof Hema  and Anju for their great support on helping us to get installed the tamil TTS system.


How to compile Tamil TTS engine from source?

IITMadras and SSN College of Engineering team have released a Open Source Text to speech conversion engine for Tamil and other indian languages.

Check their efforts at

In this blog post, let us see how can we compile and install the tamil tts system in a ubuntu 16.04 machine.


Go to this link

It will ask for Signup.
Register by giving username and email address.

Soon, you will get an email with the password to login.

If you dont’ get any password, send an email to


Once you got a password, login to the same link.

Now, you will get two select drop down lists.

Select Language = Tamil
Select Voice type = HTS-2.3

Click “Agree & Download”

It will download a file ssn_hts_demo_tamil_male.tgz


gunzip ssn_hts_demo_tamil_male.tgz
tar xvf ssn_hts_demo_tamil_male.tar

cd ssn_hts_demo

Read the README.txt

as step 1, it says as
Step 1: Configure the folder
./configure –with-fest-search-path=/$FESTDIR/examples/ –with-sptk-search-path=/usr/local/SPTK/bin/ –with-hts-search-path=/usr/local/HTS-2.2beta/bin/ –with-hts-engine-search-path=/PATH TO hts_engine_API-1.06/bin/


It requires, following software

1. Festival – we can install it using apt-get
3. HTS
4. hts_engine_api

2,3, and 4 should be downloaded from respective sites as source and they should be compiled.


1. To install festival, run the below command

sudo apt-get install festival


Install few required packages

sudo wget festival libx11-dev build-essential g++-4.7 csh gawk bc sox tcsh default-jre -y

2. Download SPTK source from


tar xvzf SPTK-3.10.tar.gz

cd SPTK-3.10
./configure –prefix=/home/ubuntu/tts/sptk
make install



Download from


mkdir hts-htk
cd hts-htk

tar xvjf HTS-2.3_for_HTK-3.4.1.tar.bz2

The INSTALL file says few things to do.

let us do them

Download HTK from

it requires to register with username, email, organization and address.
Once registered, you will get password in mail.

using that you can download the packages


wget –user=htkuserchennai –password=sgqY=t=M


download HDecode from

wget –user=htkuserchennai –password=sgqY=t=M

tar -zxvf HTK-3.4.1.tar.gz
tar -zxvf HDecode-3.4.1.tar.gz

cd htk

patch -p1 -d . < ../hts-htk/HTS-2.3_for_HTK-3.4.1.patch

./configure –prefix=/home/ubuntu/tts/hts



Now, I got the following error.


(cd HTKLib && make HTKLib.a) \
|| case “” in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory ‘/home/ubuntu/htk/HTKLib’
gcc -Wall -Wno-switch -g -O2 -I. -DPHNALG -c -o HGraf.o HGraf.c
HGraf.c:118:77: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
<builtin>: recipe for target ‘HGraf.o’ failed
make[1]: *** [HGraf.o] Error 1
make[1]: Leaving directory ‘/home/ubuntu/htk/HTKLib’
Makefile:141: recipe for target ‘HTKLib/HTKLib.a’ failed
make: *** [HTKLib/HTKLib.a] Error 1

To solve this, run the below command

sudo apt-get install libx11-dev

Thanks to the s.t.o community for the answer.


run make again


Got another error as below.


gcc -Wall -Wno-switch -g -O2 -I. -DPHNALG -c -o esignal.o esignal.c
In file included from /usr/include/string.h:630:0,
from esignal.h:34,
from esignal.c:29:
esignal.c: In function ‘ReadHeader’:
esignal.c:974:29: error: ‘ARCH’ undeclared (first use in this function)
if (strcmp(architecture, ARCH) == 0) /* native architecture */
esignal.c:974:29: note: each undeclared identifier is reported only once for each function it appears in
esignal.c: In function ‘WriteHeader’:
esignal.c:1184:25: error: ‘ARCH’ undeclared (first use in this function)
architecture = ARCH;
esignal.c: In function ‘GetLine’:
esignal.c:1760:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, len+1, file);
esignal.c: In function ‘GetLong’:
esignal.c:1808:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, len+1, file);
<builtin>: recipe for target ‘esignal.o’ failed
make[1]: *** [esignal.o] Error 1
make[1]: Leaving directory ‘/home/ubuntu/htk/HTKLib’
Makefile:141: recipe for target ‘HTKLib/HTKLib.a’ failed
make: *** [HTKLib/HTKLib.a] Error 1

Again s.t.o helped.

Run the below commands

sudo apt-get install g++-4.7
export CC=gcc-4.7 CXX=g++-4.7
./configure CFLAGS=”-DARCH=linux” –prefix=/home/ubuntu/tts/hts
make install


Next is hts_engine_API

download from


tar xvzf hts_engine_API-1.10.tar.gz
cd hts_engine_API-1.10
./configure –prefix=/home/ubuntu/tts/hts_engine_api
make install


Then, few more commands.

cd /usr/share/doc/festival/examples/
sudo gunzip dumpfeats.gz

sudo gunzip
sudo chmod a+rx /usr/share/doc/festival/examples/dumpfeats

Thats all. We install all the dependancies of ssn_hts_demo.
Let us install it now.

cd ssn_hts_demo

./configure –with-fest-search-path=/usr/share/doc/festival/examples –with-sptk-search-path=/home/ubuntu/tts/sptk/bin/ –with-hts-search-path=/home/ubuntu/tts/hts/bin/ –with-hts-engine-search-path=/home/ubuntu/tts/hts_engine_api/bin/

sudo mv /usr/share/festival/radio_phones.scm /usr/share/festival/radio_phones.scm-old

sudo cp ~/ssn_hts_demo/radio_phones.scm /usr/share/festival/

sudo cp ~/ssn_hts_demo/ /usr/share/perl5/File/

gcc scripts/tamil_trans.c -o scripts/tamil_trans


Thats all. Done with all the compilation works.

Let us invoke the command to make the tamil text to audio.

export FESTDIR=/usr
ssn_hts_demo/scripts/complete “தமிழ் வாழ்க” linux

This will make audio file as ssn_hts_demo/wav/1.wav

I can now play the file with any audio player and hear a good voice of the text in tamil.


I tried with a little huge text.

here is the demo

The text I gave is

என் சரித்திரம், உ. வே. சாமிநாதையர் எழுதிய தன்வரலாறு ஆகும். இதில் 1855ஆம் ஆண்டு முதல் 1898ஆம் ஆண்டு வரை அவருடைய வாழ்வில் நிகழ்ந்தவை பதியப்பட்டுள்ளன. இதில் அவர் தமிழ் கற்ற வரலாறு, தமிழ் நூல்களைப் பதிப்பித்த வரலாறும் பதிவுசெய்யப்பட்டு உள்ளன.தமிழ்த்தாத்தா டாக்டர் உ.வே.சா. அவர்கள் எழுதிய தன் வரலாற்று நூல் இது. இந்நூலைக் கற்றால் ‘பெருக்கத்து வேண்டும் பணிதல்’ என்ற இலக்கணத்துக்கு இதுதான் சரியான இலக்கியம் என்ற உண்மை தெளிவாகும். பேதங்களுக்கு அப்பாற்பட்ட போதம்தான் தமிழ்ஞானம் என்பது இந்நூலின் தொகுமொத்தப் பொருள் என்றால் அது மிகையாகாது. ’நன்றிக்கு வித்தாகும் நல்லொழுக்கம்’ என்ற தொடரை விளக்குவதற்காக இவர் மண்ணுலகில் பிறந்தார் என்று கொள்ள வேண்டி இருக்கிறது. டாக்டர் உ.வே.சா. அவர்களின் என் சரித்திரமும் மகாத்மா காந்திஜி அவர்களின் சத்திய சோதனையும் ஒரேதரம் உடையவை. இவற்றின் ஒவ்வோரெழுத்தும் வாய்மை நிரம்பிய வைர எழுத்துக்கள்.என் சரித்திரம் கற்றால் தமிழார்வம் வரும். வந்த தமிழார்வம் வளரும். பத்துப்பாட்டும், எட்டுத்தொகையுள் ஐந்தும், மூன்று பெரும் காப்பியங்களும், ஐம்பதிற்கும் மேற்பட்ட பிற இலக்கியங்களும், இலக்கண நூல்களும் நின்று நிலவுவதற்குக் காரணம், டாக்டர் உ.வே.சா. அவர்களின் அயரா உழைப்பே என்பதை, இந்த மன்பதை அறியும். அந்த நூல்களைக் கற்கும் முன், ’என் சரித்திரம்’ என்னும் இந்த நூலைக் கற்க வேண்டும். இதனைக் கற்றால் தமிழ் நூல்களை அச்சுக்குக் கொண்டுவர அவர்பட்ட இன்னல்கள் புரியும்.1. எங்கள் ஊர்சற்றேறக்குறைய இருநூறு வருஷங்களுக்கு முன்பு தஞ்சாவூர் ஸமஸ்தானத்தை ஆண்டு வந்த அரசர் ஒருவர் தம்முடைய பரிவாரங்களுடன் நாடு முழுவதையும் சுற்றிப் பார்க்கும் பொருட்டு ஒருமுறை தஞ்சாவூரிலிருந்து புறப்பட்டார். அங்கங்கே உள்ள இயற்கைக் காட்சிகளை யெல்லாம் கண்டு களித்தும், ஸ்தலங்களைத் தரிசித்துக்கொண்டும் சென்றார். இடையில், தஞ்சைக்குக் கிழக்கே பதினைந்து மைல் தூரத்திலுள்ள பாபநாசத்திற்கு அருகில் ஓரிடத்தில் தங்கினார். வழக்கம்போல் அங்கே போஜனம் முடித்துக்கொண்ட பிறகு தாம்பூலம் போட்டுக்கொண்டு சிறிது நேரம் சிரம பரிகாரம் செய்திருந்தார்; தம்முடன் வந்தவர்களோடு பேசிக்கொண்டு பொழுதுபோக்குகையில் பேச்சுக்கிடையே அன்று ஏகாதசி யென்று தெரிய வந்தது. அரசர் ஏகாதசியன்று ஒரு வேளை மாத்திரம் உணவுகொள்ளும் விரதமுடையவர்; விரத தினத்தன்று தாம்பூலம் தரித்துக்கொள்வதும் வழக்கமில்லை. அப்படியிருக்க, அவர் ஏகாதசி யென்று தெரியாமல் அன்று தாம்பூலம் தரித்துக்கொண்டார். தஞ்சாவூராக இருந்தால் அரண்மனை ஜோதிஷர் ஒவ்வொரு நாளும் காலையில் வந்து அன்றன்று திதி, வார, நக்ஷத்திர, யோக, கரண விசேக்ஷங்கள் இன்னவையென்று பஞ்சாங்கத்திலிருந்து வாசித்துச் சொல்வார். அதற்காகவே அவருக்கு மான்யங்களும் இருந்தன.அரசருடைய பிரயாணத்தில் ஜோதிஷர் உடன் வரவில்லை. அதனால் ஏகாதசியை அரசர் தெரிந்துகொள்ள முடியவில்லை. எதிர்பாராதபடி விரதத்திற்கு ஒரு பங்கம் நேர்ந்ததைப் பற்றி வருந்திய அரசர் அதற்கு என்ன பரிகாரம் செய்யலாமென்று சில பெரியோர்களைக் கேட்கத் தொடங்கினர்.(மேலும் படிக்க…)


Here the audio now.



Yes. This is the best open source text to speech engine for tamil, so far.

Tons of thanks for IITM team and SSN College of Engineering for making the TTS engine and releasing as open source and for free.

Working on making the installation easier with a shell script.

Will share once done.



ILUGC Hackathon – 2 – Wikipedia Hackathon – July 23, 2017

Announcing our second hackathon on July 23. This time it is all about Wikipedia.

Venue :

Hexolabs Interactive Tech Pvt Ltd, Type II/17, Dr.VSI Estate,
Thiruvanmiyur, Chennai 41. Phone – 044 42169699  Near NIFT, Opposite
to Origin Towers.

Date : July 23, 2017
Time : 10.00 AM – 5.00 PM


* Bring your laptop
* Knowledge in any programming language


* To bring any internet device like dongle or 4g smartphone to get your own internet, as there is limited speed in available internet


Exploring these links and installing them is desired.

Installing medaiwiki-

wikitools – Python Library

Mediawiki API


Hack Ideas:

If you, or Tamil or any other language wiki needs any programming solutions, share the ideas here.

Examples :
1. Report of contributions of all TN school teachers. Usernames will
start as TNSE. Need a report like

2. Fixing the titles, moving the pages automatically, if they have
errors on page title.

3. Install Tamil TTS –
and try to use it for wiki pages.

Registration :

To register, add your name in the following wiki page.

If you dont know tamil, just mail me your interest to attend.


T Shrinivasan 98417 9546 Eight

Meeting Minutes – July 2017 meet

Indian Linux Users Group, Chennai is my homeland. The monthly meetings always give great ideas and thoughts. Most of my project ideas are being initiated here. and are childs of the thoughts discussed here.

We meet, every month, second saturday at IIT Madras – 3-6 pm. Last saturday, we had a meet. Here are the notes.

Joshua explained about Yocta project. This is used to build tiny GNU/Linux distributions with only the minimal required tools and libraries. We can create many recipies and use them to design our own OS.

Yocto project க்கான பட முடிவு

He explained the build tool bitbake and demonstrated the processes.

Few links to know more about it.

Khaleel explained about  . He demonstrated how to add new roads, Point of interests and how to edit other’s works. He explained how the project started, why it exists and why it is important to contribute for it.

File:OSM Logo.svg

We can add missing details about the streetname and POI for chennai.

Use these applications to contribute using mobile.
2. OSM contributor

Using the app, “StreetComplete” we can add missing street names easily.

We can plan for an online or offline mapathon event to learn OSM
contribution someday this month.

Few links:

I distributed few old “Linux for you” books to the participants.

After the talk, few of us went to gurunath restaurant. Discussed about bitcoin, blockchain, chennai colleges, having hackathon and trainings etc. Baskar selvaraj requested to have more offline events like we were doing few years ago. Remembered contributions of our long time members like KG, Raaman, Bharathi etc. He shared all the fun happening at colleges on the events he conducts. It will be really great if we start more events. Let us plan them and start as soon as possible.

Thanks for all participants and speakers.

Here are few photos

Minutes – ILUGC Feb 2017 meet

Indian Linux Users Group, Chennai community is meeting every month second saturday at Aerospace Engineering, IIT Madras.

Yesterday, we had out feb 2017 meeting.

Ajay started with Various open source licenses available and explored their pros and cons. Explained how the Open Core business model is helping many companies to do their business by open sourcing the core of their software with releasing the other components as proprietary software.

See the slides here


Then, Viswaprasath from Mozilla Tamilnadu community explained about Firefox’s new web extensions api. Now we can build cross browser extensions using simple HTML/JavaScript/CSS stack. No need to play around with XUL. He explained the architecture of a simple plugin he developed.

Few links to explore on this


Then, Karthik from Mozilla Tamilnadu, explored webVR. Virtual reality using browser. Now with Three.js we can create 3d worlds that can be viewed on browser itself.

A-frame is a Javascript framework on top of threejs.

Few links

Then, he explained how the mozilla Tamilnadu community is working to spread Free/Open Software on colleges and organizations.

Join the awesome community to learn and contribute for free software.


Then, I gave a lightning talk on few projects ideas to do. A firefox plugin to help proofreading tamil wikisource, flipboard alternate in tamil, epub cleaning for, Download report for wikisource ebooks, web application for OCR4WikiSource, Translating city/street names in Tamil for building maps in Tamil. Will write a new post with all the details of these project ideas.

Asked for contributors and ideas. Students from S.Joseph Institute of Tech accepted to help on these projects. We can have a hackathon to do these projects.

Reply here if you know any place to conduct a one day hackathon.

Finally, asked all to join in ILUGC mailing list at

Our meetings will end on the cafe nearby. old mohan, new mohan, yogesh, myself and other one(sorry dude, still trying to get your name) had great discussions at cafe on building Tamil Text to Speech engine, Advantages of go over python and a lot.

Returned to home by bus with Mohan, discussing various tech, social, academic, industry trends. Interacting with energetic young people makes me feel encouraged to learn new things always.

Thanks for all the speakers and participants for building a wonderful community for GNU/Linux. Let us hope to have more events like hackathon, FossConf etc, this year.

Few photos










Home Sweet Home, Indian Linux Users Group, Chennai

After several months, Today attended ILUGC meeting.

Felt like being at hometown. Yes. ILUGC is where I born and  grown in Free Software world.

At todays meet, ShanthaKumar explained about Haskell and its testing methods. Haskell is a functional language. He is using genetic algorithms and AI to parse english text with a POS tagger.

Saai Akash from Jaya Enginneering College explained about Elastic Search Engine.

Both Shantha kumar and Saai are Final year engineering students. It is a good thing that students talk in tech communities.

Then Shakthi Kannan explored about Par Edit is an Emacs minor mode for editing S-expressions. He is living with Emacs. Inspired by regular talks and writings only I started to use Emacs and enjoying its benefits.

Saw three elder people attended the meet and asked good questions.

After long time, met Mohan, Stylesen, Joe Steve. The very long time ilugc friends.
As usual, the stand up meeting after the event was much informative. We went to a nearby canteen and had fun with food.

ILUGC is one of the oldest GNU/Linux users groups in the world. Yes. Indian Linux Users Group, Chennai [ ILUGC ] is spreading awareness on Free/Open Source Software (F/OSS) in Chennai since January 1998. We usually meet on the second Saturday of every month at IIT Madras, Aero space Engineering Building.

If you are in chennai on second saturdays, dont miss this meetings. You will learn tons of things and meet great people.

Thanks to all ILUGC friends for moving forward on building a great community for FOSS.