Dhvani: Difference between revisions

 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
== '''Dhvani Indian Language Text to speech Engine''' ==
== '''Dhvani Indian Language Text to speech Engine''' ==
  This page is no longer maintained. For a detailed documentation see http://dhvani.sourceforge.net
Dhvani  project is a [http://www.efytimes.com/efytimes/24867/news.htm FOSS India award 2008 winner]
Dhvani  project is a [http://www.efytimes.com/efytimes/24867/news.htm FOSS India award 2008 winner]
[[Image:FOSS_awards_low_res.jpg|thumb|300px|FOSS India Awards 2008 Winner Project]]
[[Image:FOSS_awards_low_res.jpg|thumb|300px|FOSS India Awards 2008 Winner Project]]
Line 5: Line 7:
==''Introduction''==
==''Introduction''==


Dhvani is a [[Text To Speech System]] specially designed for Indian languages. The project started in 2000 by [[Simputer]] trust headed by Dr. Ramesh Hariharan, Indian Institute of Science Bangalore. It uses [[diphone concatenation]] algorithm. Currently it has [[Hindi]],[[Malayalam]],[[Kannada]] .[[Bengali]], [[Oriya]],[[Panjabi]], [[Gujarati]],[[Telugu]] modules.It can serve as a
Dhvani is a [[Text To Speech System]] specially designed for Indian languages. The project started in 2000 by [[Simputer]] trust headed by Dr. Ramesh Hariharan, Indian Institute of Science Bangalore. It uses [[diphone concatenation]] algorithm. Currently it has [[Hindi]],[[Malayalam]],[[Kannada]] .[[Bengali]], [[Oriya]],[[Panjabi]], [[Gujarati]],[[Telugu]], [[Marathi]] modules.It can serve as a
back end for speech synthesisers in Indian Languages, in conjunction
back end for speech synthesisers in Indian Languages, in conjunction
with a laguage-specific text-to-phonetics module. This speech engine has not made any attempt
with a laguage-specific text-to-phonetics module. This speech engine has not made any attempt
Line 418: Line 420:
Malayalam module is written by Santhosh Thottingal. Support for malayalam numbers, english numbers, decimal places, English abbreviations, and special characters are provided.It consists of unicode parser which will read malayalam unicode encoded text. Words are identified by '.', '!', ';', ',' ,'-' etc. Then the unicode text is converted to Dhvani phoneme script.
Malayalam module is written by Santhosh Thottingal. Support for malayalam numbers, english numbers, decimal places, English abbreviations, and special characters are provided.It consists of unicode parser which will read malayalam unicode encoded text. Words are identified by '.', '!', ';', ',' ,'-' etc. Then the unicode text is converted to Dhvani phoneme script.
Number reading logic done using pattern-exception rules.
Number reading logic done using pattern-exception rules.
 
===''Marathi Module''===
 
Marathi Module is wriiten by Rahul Bhalerao


== '' Text to Ogg file Conversion''==  
== '' Text to Ogg file Conversion''==  
Line 430: Line 432:
The oggfile will be created with the name outputfile.ogg
The oggfile will be created with the name outputfile.ogg


Some sample speech files
==Sample speech files==
# [http://santhosh00.googlepages.com/hindi.ogg Hindi]
# Hindi [http://santhosh00.googlepages.com/hindi.ogg Ogg format] [http://santhosh00.googlepages.com/hindi.mp3 MP3 format]
# [http://santhosh00.googlepages.com/magic_cat-0.ogg Malayalam]
# Malayalam [http://santhosh00.googlepages.com/magic_cat-0.ogg Ogg format] [http://santhosh00.googlepages.com/magic_cat-0.mp3 MP3 format]
# Marathi [http://santhosh00.googlepages.com/marathi.ogg Ogg format]
# Panjabi [http://santhosh00.googlepages.com/panjabi.wav WAV format]
# Telugu [http://santhosh00.googlepages.com/telugu.wav WAV format]


==''Developers''==
==''Developers''==
# [http://144.16.67.13/~ramesh Ramesh Hariharan]
# [http://www.hariharan-ramesh.com Ramesh Hariharan]
# [[User:Santhosh|Santhosh Thottingal]]
# [[User:Santhosh|Santhosh Thottingal]]
# Rahul Bhalerao
==''How to create Audio books using Dhvani''==
==''How to create Audio books using Dhvani''==
One of the important feature of dhvani is , it can be used for creating audio books out of utf-8 formatted texts in supported languages.
One of the important feature of dhvani is , it can be used for creating audio books out of utf-8 formatted texts in supported languages.
Line 453: Line 460:


==''Installation''==
==''Installation''==
a) Debian/Ubuntu package: http://download.savannah.nongnu.org/releases/smc/Dhvani
a) Debian/Ubuntu/Fedora packages: http://download.savannah.nongnu.org/releases/smc/Dhvani
download it and install using the following command
download it and install using the following command
   dpkg -i dhvani_0.9.0-1_i386.deb
   dpkg -i dhvani_0.9.0-1_i386.deb
or
rpm -ivh dhvani-0.9.2-0beta1.fc8.i386.rpm
b) Fedora 8 onwards uses PulseAudio as the default sound server, and has issues with the pulseaudio-alsa plugin. You will have to either:
b) Fedora 8 onwards uses PulseAudio as the default sound server, and has issues with the pulseaudio-alsa plugin. You will have to either:
* Remove pulseaudio-alsa plugin, or
* Remove pulseaudio-alsa plugin, or
* Comment out all the lines in /etc/alsa/pulse-default.conf
* Comment out all the lines in /etc/alsa/pulse-default.conf
==How to Integrate dhvani with Gedit==
*Open gedit, go to Edit->Preferences->Plugins and enable External tools plugin
*Go to Tools->External tools.
*Add a new tool with name dhvani. Give any suitable short cut key(accelerator key) and some description. Select the "Document Selection" as the input so that the input will to dhvani will be the selected text. and in the command box, give the following  lines
xargs > /tmp/dhvani
dhvani  /tmp/dhvani
and save it.
* Open any text in any of the supported language. Select some lines of the text. Go to tools->dhvani. It will speak the selected text.
* If none of the text is selected, it will speak the entire text.
== How to Integrate dhvani with KDE==
Read this blog post: [http://santhoshtr.livejournal.com/9390.html Dhvani KDE Integration]
Using dhvani with Kmouth: [http://santhoshtr.livejournal.com/9569.html Can't Speak? Dhvani will speak for you! ]


==''License''==
==''License''==