Lingua::EN::GeniaTagger - There's no fear with this elegant site scraper
use Lingua::EN::GeniaTagger; start_genia('/path/to/geniatagger'); $sentence = 'IL-2 gene expression and NF-kappa B activation through CD28 requires reactive oxygen production by 5-lipoxygenase.'); my $result = tag($sentence); print chunk($sentence); print stringify_chunks($sentence);
This module is a perl interface for accessing geniatagger. It automatically exports four functions. First, you need to specify the path to geniatagger. Then, you can use tag() to put part-of-speech tags to text, use chunk(), which returns an array of arrays, to do shallow parsing, and you can also call stringify_chunks() to stringify the result derived from chunk().
Copyright (C) 2006 by Yung-chung Lin (a.k.a. xern) <xern@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself
To install Lingua::EN::GeniaTagger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::EN::GeniaTagger
CPAN shell
perl -MCPAN -e shell install Lingua::EN::GeniaTagger
For more information on module installation, please visit the detailed CPAN module installation guide.