NAME

Lingua::PT::Hyphenate - Separates Portuguese words in syllables

SYNOPSIS

use Lingua::PT::Hyphenate;

@syllables = hyphenate("teste")   # @syllables now hold ('tes', 'te')

DESCRIPTION

Separates Portuguese words into syllables.

Separation is done in three easy steps:

0) Mark special consonant combinations not to separate (like "tr", "vr", etc);

1) Separate consonants (not allowing consonants to be isolated; not separating "ch", "lh", "nh");

2) Separate vogals from consonants on their right;

3) Separate vowels from vowels (except for special cases like "ai", "au", etc).

4) Unmark the special consonant combinations marked in step 0)

SEE ALSO

If you're into Natural Language Processing tools, you may like this Portuguese site: http://natura.di.uminho.pt

MESSAGE FROM THE AUTHOR

If you're using this module, please drop me a line to my e-mail. Tell me what you're doing with it. Also, feel free to suggest new bugs^H^H^H^H^H features.

AUTHOR

Jose Alves de Castro, <cog [at] cpan [dot] org<gt>

COPYRIGHT AND LICENSE

Copyright 2004 by Jose Alves de Castro

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.