Alberto Manuel Brandão Simões > Lingua-PT-Speaker-0.12 > Lingua::PT::Speaker

Download:
Lingua/Lingua-PT-Speaker-0.12.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.12   Source  

NAME ^

Lingua::PT::Speaker - perl extension text to speech of Portuguese text

SYNOPSIS ^

  use Lingua::PT::Speaker;

  $pt1 = '/usr/lib/mbrola/pt1/pt1';

  Lingua::PT::speaker::debug() if $debug;

  my $tmp="/tmp/_$$";

  $/="" if  $l;
  while($line = <>){
     speak({output => "$tmp.pho"}, $line);
     system("mbrola -t $t $pt1 $tmp.pho $tmp.wav; play $tmp.wav"); 
  }

DESCRIPTION ^

EXPORT

AUTHOR ^

J.Joao Almeida, jj@di.uminho.pt

Alberto Simões, albie@alfarrabio.di.uminho.pt

SEE ALSO ^

Lingua::PT::PLN

mbrola

mbrola/pt1

perl(1).

syntax highlighting: