Thesaurus::DBIThesaurus::DBI is a Perl module that can store and query synonyms (Thesaurus) in an SQL database. | |
Download |
Thesaurus::DBI Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Jo Seibert
- Publisher web site:
- http://search.cpan.org/~joseibert/Thesaurus-DBI-0.01/lib/Thesaurus/DBI.pm
Thesaurus::DBI Tags
Thesaurus::DBI Description
Thesaurus::DBI is a Perl module that can store and query synonyms (Thesaurus) in an SQL database. Thesaurus::DBI is a Perl module that can store and query synonyms (Thesaurus) in an SQL database.SYNOPSIS use Thesaurus::DBI; # create new database connection my $th = new Thesaurus::DBI(dbhost=> 'localhost', dbname=>'thesaurus',dbuser=>'user',dbpassword=>'pass'); # use existing database connection my $th = new Thesaurus::DBI(dbhandle => $dbi, dbname=>'thesaurus',dbuser=>'user',dbpassword=>'pass'); # initialize database $th->create_tables(); # query thesaurus my @synonyms = $th->find('synonym'); # add synonyms $th->add(); # delete word $th->delete('word');This subclass of Thesaurus implements persistence by using an SQL database.This module requires the DBI module from CPAN. To use it with certain database servers, the corresponding database drivers are needed, too. (Mysql -> DBD::mysql)Please note, that database servers like MySQL doesn't take care of case-sensitivity. So the queries to the thesaurus-database wil all bei case-insensitive. Requirements: · Perl
Thesaurus::DBI Related Software