Lingua::PT::UnConjugate - Recognition of the conjugated forms of portuguese verbs.
This module provides functions for the recognition of the conjugated forms of portuguese verbs.
Composed tenses are not recognized. The verb list contains many non-verbs that I have not removed yet.
$verb_forms = unconj( [-a] , $string )
Attempts to recognize a conjugated form of a Portuguese verb, and returns the result as a reference to hash : if the element
C<$verb_forms-E<gt>{$infinitive}-E<gt>{$tense}-E<gt>[$person]>
is true, then the conjugation of the verb "$infinitive" at the tense "$tense" and the person "$person" should yield "$string".
The first argument may an option :
@res = string_entries( ['l'], \%verb_forms )
Convert a hash of recognized forms into a list of strings "$verb, $tense, $person".
"$verb, $tense, $person"
If the first argument is a 'l', then long forms of verb names will be used.
@res = list_entries( ['l'], \%verb_forms )
Convert a hash of recognized forms into a list of triplets [ $verb, $tense, $person ].
[ $verb, $tense, $person ]
Thanks to Soraia Almeida (salmeida@logos.it) from the Logos project (http://www.logos.it) and Ulisses Pinto and José João Almeida from Projecto Natura (http://shiva.di.uminho.pt/~jj/pln) who made Ispell available.
A big part of the list of verb infinitives comes from files used in Ispell (http://shiva.di.uminho.pt/~jj/pln) and in Logos (http://www.verba.org, http://www.logos.it). these projects. Some verbs were removed and others added by hand.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'José'. Assuming CP1252
To install Lingua::PT::Conjugate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::PT::Conjugate
CPAN shell
perl -MCPAN -e shell install Lingua::PT::Conjugate
For more information on module installation, please visit the detailed CPAN module installation guide.