Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Thesaurus::DBI 0.01

    Download button

    No screenshots available
    Downloads: 293  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Jo Seibert | More programs
    Perl Artistic License / FREE
    May 23rd, 2007, 02:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    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(['word', 'synonym']);

    # 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.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    store synonyms | query synonyms | Perl module | Thesaurus::DBI | store | query

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM