Bug#516262: festival: Please add support for --language russian

2009-04-07 Thread Kartik Mistry
On Mon, Apr 6, 2009 at 2:05 PM, Dmitry E. Oboukhov  wrote:
> The package festvox-ru has already been added to Debian/main.
> Please, apply the patch :)

Kumar, Can we upload festival now? :)

I will start working on rest pending things

-- 
 Cheers,
 Kartik Mistry | 0xD1028C8D | IRC: kart_
 Debian GNU/Linux Developer
 Blog.en: ftbfs.wordpress.com
 Blog.gu: kartikm.wordpress.com



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#516262: festival: Please add support for --language russian

2009-04-06 Thread Dmitry E. Oboukhov
severity 516262 wishlist
thanks

Hi, Kartik

The package festvox-ru has already been added to Debian/main.
Please, apply the patch :)

PS: please give me a bit of advice on the following subj

theoretically some of languages may be autodetected with checking
symbols in the string.
For example: if we have installed few languages for festival (for
example: only Russian and English). then language can be detected
with the following regexp:

Russian:  /[а-яА-Я]/ (/\p{Cyrillic}/)
English:  /a-zA-Z/

Also if we use dictionaries of *spell packages we can
(theoretically) detect the language using search through it ,

for example: 
 * if the word is contained in Russian dictionary(ies), then we are
   switched to Russian
 * if the word is contained in English dictionary(ies), we are
   switched to English
 * if the word is contained in several (or none) dictionary(ies),
   we use the previous (default) language.

Non-English users often use mixed texts (in my case: Russian and
English). The fact that festival can speak only one language grieves
me. In spite of the fact I have created and uploaded the festvox-ru
package, now I do not use it :(


I tried to write an easy perl-script, which generated lisp instructions
for festival (switch-laguage say-text switch-laguage say-text ...)
It works, but switches take too much time many time and text is 
spoken with unpleasant pauses.

What do you think about the question: how many similar problems
have been solved?

--
... mpd is off

. ''`.   Dmitry E. Oboukhov
: :’  :   email: un...@debian.org jabber://un...@uvw.ru
`. `~’  GPGKey: 1024D / F8E26537 2006-11-21
  `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537


signature.asc
Description: Digital signature


Bug#516262: festival: Please add support for --language russian

2009-02-20 Thread Kumar Appaiah
tags 516262 + pending
thanks

On Fri, Feb 20, 2009 at 11:56:11AM +0300, Sergey B Kirpichev wrote:
> Russian male voice is available from
> http://festlang.berlios.de/docu/doku.php?id=russian
> 
> We are trying to upload this voice to debian soon...
> 
> Attached patches add russian --language support to languages.scm and
> festival binary.

Dear Sergey,

Thank you for the patch. I have applied them, and I shall include them
in the next upload.

Kumar
-- 
Kumar Appaiah


signature.asc
Description: Digital signature


Bug#516262: festival: Please add support for --language russian

2009-02-20 Thread Sergey B Kirpichev
Package: festival
Version: 1.96~beta-7
Severity: normal
Tags: patch

Russian male voice is available from
http://festlang.berlios.de/docu/doku.php?id=russian

We are trying to upload this voice to debian soon...

Attached patches add russian --language support to languages.scm and
festival binary.



-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages festival depends on:
ii  adduser  3.110   add and remove users and groups
ii  libaudiofile00.2.6-7 Open-source version of SGI's audio
ii  libc62.7-18  GNU C Library: Shared libraries
ii  libesd0  0.2.36-3Enlightened Sound Daemon - Shared 
ii  libestools1.21:1.2.96~beta-2 Edinburgh Speech Tools Library
ii  libgcc1  1:4.3.2-1.1 GCC support library
ii  libncurses5  5.7+20081213-1  shared libraries for terminal hand
ii  libstdc++6   4.3.2-1.1   The GNU Standard C++ Library v3
ii  lsb-base 3.2-20  Linux Standard Base 3.2 init scrip
ii  sgml-base1.26SGML infrastructure and SGML catal
ii  sysv-rc  2.86.ds1-61 System-V-like runlevel change mech

Versions of packages festival recommends:
ii  festvox-kallpc16k [festival-v 1.4.0-5American English male speaker for 

Versions of packages festival suggests:
pn  festival-freebsoft-utils   (no description available)
pn  festival-gaim  (no description available)
pn  pidgin-festival(no description available)

-- no debconf information
--- languages.scm.orig  2008-03-05 06:08:52.0 +0300
+++ languages.scm   2009-02-20 11:30:06.0 +0300
@@ -101,6 +101,15 @@
(Parameter.set 'Language 'czech)
 )
 
+(define (language_russian)
+   "(language_russian)
+   Set up language parameters for Russian."
+ (set! male1 voice_msu_ru_nsh_clunits)
+ (male1)
+ (Parameter.set 'Language 'russian)
+   )
+
+
 (define (language_scots_gaelic)
 "(language_scots_gaelic)
 Set up language parameters for Scots Gaelic."
@@ -148,6 +157,8 @@
 (language_finnish))
((equal? language 'czech)
 (language_czech))
+   ((equal? language 'russian)
+(language_russian))
((equal? language 'klingon)
 (language_klingon))
(t
Index: festival-1.96~beta/src/main/festival_main.cc
===
--- festival-1.96~beta.orig/src/main/festival_main.cc	2009-02-20 11:41:19.0 +0300
+++ festival-1.96~beta/src/main/festival_main.cc	2009-02-20 11:43:26.0 +0300
@@ -108,7 +108,7 @@
 	"  are printed (default if stdin not a tty)\n"+
 	"--language \n"+
 "  Run in named language, default is\n"+
-	"  english, spanish and welsh are available\n"+
+	"  english, spanish, russian and welsh are available\n"+
 	"--server  Run in server mode waiting for clients\n"+
 	"  of server_port (1314)\n"+
 	"--script \n"+