Softpedia
 


LINUX CATEGORIES:



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

    Ruby/DICT 0.9.3

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Ian Macdonald | More programs
    GPL / FREE
    April 18th, 2006, 16:37 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Ruby/DICT description

    Ruby/DICT is an RFC 2229 compliant client-side library implementation of the DICT protocol.

    Ruby/DICT is an RFC 2229 compliant client-side library implementation of the DICT protocol, written in the Ruby programming language. Ruby/DICT library can be used to write clients that access dictionary definitions from a set of natural language dictionary databases. In the words of the RFC:

    The DICT protocol is designed to provide access to multiple databases. Word definitions can be requested, the word index can be searched (using an easily extended set of algorithms), information about the server can be provided (e.g., which index search strategies are supported, or which databases are available), and information about a database can be provided (e.g., copyright, citation, or distribution information). Further, the DICT protocol has hooks that can be used to restrict access to some or all of the databases.

    The archive also includes rdict, a dictionary client built on top of the Ruby/DICT library.

    Here are some examples of its usage:

    $ rdict -D

    This will provide you with a list of databases you can query.

    $ rdict -S

    This will provide you with a list of strategies you can employ to match words.

    $ rdict -m -s prefix foo

    This shows you a list of all words that begin with 'foo' in all of the databases.

    $ rdict -m -s re '^(cu|ke)rb$'

    This shows you all the definitions relating to both 'curb' and 'kerb' from all the databases. The 're' strategy allows regular expression matching.

    $ rdict -m -s suffix fix

    This shows a list of all words that end in 'fix' in all of the databases.

    Product's homepage

    Requirements:

    · Ruby

      


    TAGS:

    RFC 2229 compliant library | Ruby library | DICT dictionary library | Ruby/DICT | Ruby | DICT

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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