[Pkg-italian-commits] [svn] r51 - festival-italian/trunk/debian

Enrico Zini enrico at costa.debian.org
Sat Jul 1 12:05:44 UTC 2006


Author: enrico
Date: Sat Jul  1 12:05:42 2006
New Revision: 51

Modified:
   festival-italian/trunk/debian/README.Debian
Log:
Added instructions on how to retrieve the input character encoding


Modified: festival-italian/trunk/debian/README.Debian
==============================================================================
--- festival-italian/trunk/debian/README.Debian	(original)
+++ festival-italian/trunk/debian/README.Debian	Sat Jul  1 12:05:42 2006
@@ -36,3 +36,15 @@
 then you need to recode the input.  Just put recode in the pipe:
 
   echo caffè | recode utf8..lat1 | festival --language italian --tts
+
+You can query the wanted encoding using this LISP code:
+
+  For the Italian female voice:
+  (or (cadr (assoc 'coding (cadr (voice.description 'lp_diphone)))) 'ISO-8859-1)
+
+  For the Italian male voice:
+  (or (cadr (assoc 'coding (cadr (voice.description 'pc_diphone)))) 'ISO-8859-1)
+
+  For whatever is the current voice:
+  (or (cadr (assoc 'coding (cadr (voice.description current-voice)))) 'ISO-8859-1)
+



More information about the Pkg-italian-commits mailing list