Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Thesaurus 0.23

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Dave Rolsky | 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 description

    Thesaurus is a Perl module that maintains lists of associated items.

    Thesaurus is a Perl module that maintains lists of associated items.

    SYNOPSIS

    use Thesaurus;

    my $th = Thesaurus->new( -files => [ 'file1', 'file2' ],
    -ignore_case => 1 );

    @words = $th->find('vegan');

    %words = $th->find( 'Faye' );

    foreach $word ( @{ $words{Faye} } )
    {
    #something ...
    }

    $th->add_file( 'file1', 'file2' );

    $th->add( [ 'tofu', 'mock duck' ] );

    $th->delete( 'meat', 'vivisection' );

    Thesaurus is a module that allows you to create lists of related things. It was created in order to facilitate searches of a database of Chinese names in Anglicized form. Because there are various schemes to create phonetic representations of Chinese words, the following can all represent the same Chinese character:

    Woo
    Wu
    Ng

    Thesaurus can be used for anything that fits into a scalar by using the new method with no parameters and then calling the add method to add data.
    Thesaurus also acts as the parent class to several child classes which implement various forms of persistence for the data structure. This module can be used on its own to instantiate an object that lives for the life of its scope.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    maintain lists | associated items | Perl module | Thesaurus | maintain | lists

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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