Lingua::EN::GeniaTagger - There's no fear with this elegant site scraper


Lingua-EN-GeniaTagger documentation  | view source Contained in the Lingua-EN-GeniaTagger distribution.

Index


NAME

Top

Lingua::EN::GeniaTagger - There's no fear with this elegant site scraper

SYSNOPSIS

Top

  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);




DESCRIPT

Top

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().

SEE ALSO

Top

AUTHOR & COPYRIGHT

Top


Lingua-EN-GeniaTagger documentation  | view source Contained in the Lingua-EN-GeniaTagger distribution.