NAME

Lingua::BioYaTeA - Perl extension of Lingua::YaTeA for extracting terms from a biomedical corpus.

SYNOPSIS

use Lingua::BioYaTeA;

my %config = Lingua::YaTeA::load_config($rcfile);

$yatea = Lingua::YaTeA->new($config{"OPTIONS"}, \%config);

$corpus = Lingua::YaTeA::Corpus->new($corpus_path,$yatea->getOptionSet,$yatea->getMessageSet);

$yatea->termExtraction($corpus);

DESCRIPTION

This module is the main module of the software BioYaTeA which is an adaptation of YaTeA (Lingua::YaTeA) for biomedical text.

The module inherits from all the class and attributes of Lingua::YaTeA. The input and output files but also the configuration files follow the same format as YaTeA. The tuning concerns the configuration files (in the directory share/BioYaTeA.

Default configuration is assumed to be /etc/bioyatea/bioyatea.rc.

For the use of BioYaTeA, see the documentation with the script bioyatea.

METHODS

new()

new($command_line_options_h,$system_config_h);

The methods creates a new term extractor and sets options from the command line ($commend_line_options_h) and options defined in the hashtable ($system_config_h) given by address. The methods returns the created object.

load_config()

load_config($rcfile);

The method loads the configuration of the NLP Platform by reading the configuration file given in argument. It returns the hashtable containing the configuration.

SEE ALSO

Documentation of Lingua::YaTeA

AUTHORS

Wiktoria Golik <wiktoria.golik@jouy.inra.fr>, Zorana Ratkovic <Zorana.Ratkovic@jouy.inra.fr>, Robert Bossy <Robert.Bossy@jouy.inra.fr>, Claire Nédellec <claire.nedellec@jouy.inra.fr>, Thierry Hamon <thierry.hamon@univ-paris13.fr>

LICENSE

Copyright (C) 2012 Wiktoria Golik, Zorana Ratkovic, Robert Bossy, Claire Nédellec and Thierry Hamon

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.