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);
oco({num=>1,output=>"file"}, "infile1", "infile2");
%o = oco("infile1", "infile2");

perl -MLingua::PT::pln -e cqptokens file* > out

DESCRIPTION

oco( $funref )

oco({num=>1,output=>"f"}, f1,f2,...)
oco({alpha=>1,output=>"f"}, f1,f2,...)
%oc=oco( f1,f2,...)

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 514:

Non-ASCII character seen before =encoding in 'José'. Assuming CP1252