NAME
Lingua::PT::UnConjugate - Recognition of the conjugated forms of portuguese verbs.
DESCRIPTION
This module provides functions for the recognition of the conjugated forms of portuguese verbs.
BUGS
Composed tenses are not recognized. The verb list contains many non-verbs that I have not removed yet.
SYNOPSIS
$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".
OPTIONS
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"
.
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 ]
.
If the first argument is a 'l', then long forms of verb names will be used.
SEE ALSO : unconj, conjug, treinar.
AUTHOR Etienne Grossmann, 1999 [etienne@isr.ist.utl.pt]
CREDITS
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:
- Around line 292:
Non-ASCII character seen before =encoding in 'José'. Assuming CP1252