[Freeswitch-svn] [commit] r5909 - freeswitch/trunk/docs/phrase

Freeswitch SVN brian at freeswitch.org
Tue Oct 16 15:13:48 EDT 2007


Author: brian
Date: Tue Oct 16 15:13:48 2007
New Revision: 5909

Modified:
   freeswitch/trunk/docs/phrase/phrase.pl

Log:
generated test files with cepstral on OS X

Modified: freeswitch/trunk/docs/phrase/phrase.pl
==============================================================================
--- freeswitch/trunk/docs/phrase/phrase.pl	(original)
+++ freeswitch/trunk/docs/phrase/phrase.pl	Tue Oct 16 15:13:48 2007
@@ -12,11 +12,11 @@
   foreach $item ( sort keys %{$ref->{$language}}) {
     foreach $element ( sort keys %{$ref->{$language}->{$item}}) {
       print "Language: $language, $item, $element\n";
-      #system("mkdir -p $language/$item");
+      system("mkdir -p $language/$item");
       foreach $foo (@{$ref->{$language}->{$item}->{$element}}) {
 	print "filename: $language/$item/$foo->{filename} contains phrase \"$foo->{phrase}\"\n";
 	# insert command to verify or generate files here
-	# system("say -o $language/$item/$foo->{filename} \"$foo->{phrase}\"");
+	system("swift -o $language/$item/$foo->{filename} \"$foo->{phrase}\"");
       }
     }
   }



More information about the Freeswitch-svn mailing list