NAME
Lingua::PT::pln - Perl extension for simple natural language processing, portuguese language
SYNOPSIS
use Lingua::PT::pln;
printPN(@options);
printPNstring($textstrint, @options);
forPN(sub{my ($pn, $contex)=@_;... } ) ;
forPNstring(sub{my ($pn, $contex)=@_;... } ,$textstring, regsep) ;
$st = syllabe($phrase);
$s = accent($phrase);
$s = wordaccent($word);
$s = xmlsentences($textstring);
@s = sentences($textstring);
perl -MLingua::PT::pln -e cqptokens file* > out
DESCRIPTION
forPN( $funref )
Substitutes all propername
by funref(propername)
in STDIN and sends output to STDOUT
forPNstring( $funref, "textstring" [, regSeparator] )
Substitutes all propername
by funref(propername)
in the text string.
syllabe( $phrase )
Returns the phrase with the syllabes separated by "|"
accent( $phrase )
Returns the phrase with the syllabes separated by "|" and accents marked with the charater ".
cqptokens()
cpqtokens - encodes a text from STDIN for CQP (one token per line)
AUTHOR
José João Almeida (jj@di.uminho.pt)
Paulo Rocha (paulo.rocha@alfa.di.uminho.pt)
thanks to
Diana Santos
SEE ALSO
perl(1).
cqp(1).
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 471:
Non-ASCII character seen before =encoding in 'José'. Assuming CP1252