Text::NLP - Perl module for Natural Language Processing
Initial release, documentation and updates will follow.
use Text::NLP; my $talker = Text::NLP->new; # setup the seeding my $args = { HELLO => [ 'hi', 'hello', 'good day' ], BYE => [ 'bye', 'goodbye', 'laters' ], } $talker->addSeeding( $args ); my $string = 'Should I say goodbye or hello? I\'ll just say good day'; # process the string my $words = $talker->process( $string ); # do some post-processing
None, but that does not mean there are not any.
Alistair Francis, <cpan@alizta.com>
To install Text::NLP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::NLP
CPAN shell
perl -MCPAN -e shell install Text::NLP
For more information on module installation, please visit the detailed CPAN module installation guide.