Rhyming Dictionary icon

Rhyming Dictionary For Linux

3.2/5 22
GPL    

Rhyming Dictionary is a command-line driven rhyming dictionary that supports about 127,000 words.. #Rhyming dictionary  #Search words  #Phrase finder  #Rhyming  #Dictionary  #Vocabulary  

Description

Free Download

Rhyming Dictionary is a command-line driven rhyming dictionary that supports about 127,000 words.

Why it's a rhyming dictionary, of course! But more specifically, it's a command-line program that takes a word and returns to you a formatted list of all words that rhyme with it. The default response is a perfect rhyme (which is probably what you want). Or you can get a syllable count of a certain word ("whitening" has 2-3 syllables, etc.). Previous versions included homophone and consonant match options but are no longer available in 0.3. If there is enough demand, I will re-add them.

However, if you don't want to deal with the command-line, you can also use my existing code as part of a CGI or GUI-based program with a minimal of effort. I plan to import Perl and PHP code at some point, but not right away. I'd rather not deal with Perl if I can avoid it.

Because all the other rhyming dictionaries I've seen were either in dead tree format (which takes awhile to flip through), or were web-only (which would force me to be online constantly to use them) and I didn't like either approach. So I wrote one I could use on my machine for when it wasn't on the network that didn't take up a lot of resources and worked very fast. I believe I have succeeded.

Step 1: Edit the Makefile

Change BINPATH to where you'd like the "rhyme" binary installed (the default is /usr/bin) and change the RHYMEPATH to where you'd like the Rhyming Dictionary database files installed (the default is /usr/share/rhyme). These database files will be about 10 megabytes, so make sure you have enough room. Also included is a man page, so feel free to adjust the MANPATH to where you would like it installed (the default is /usr/share/man/man1).

Step 2: Build it

Type "make". You'll notice that a "compile" binary is created first. This program generates GDBM files from the included text files and will take quite awhile to complete. Why? Because GDBM files aren't actually cross-platform. For example, Sun Sparc GDBM files don't work on Linux x86 and vice-versa. The compile step ensures that the created GDBM files *will* work on your machine. The actual building of the "rhyme" binary should be quite simple.

Step 3: Install it

As an administrator, type "make install". This will place the "rhyme" binary in the BINPATH directory and the "words.db","rhymes.db" and "multiple.db" files in the RHYMEPATH directory. If you'd like to move these files at any time, you can use the RHYMEPATH environment variable to point "rhyme" to the new location.

And you should be all set! As long as the BINPATH is in your path (most likely), you should be able to type "rhyme" and get the words you're looking for. The performance of GDBM is similar to that of the old MySQL version but with only half the steps to install.

If you find you don't like or need the dictionary any longer, "make uninstall" will remove its files from your system so long as they haven't moved since installation. By design, the install doesn't spray files all over your system. So cleanup or upgrading should pose no problems.

Uninstalling old MySQL data

As promised, if you're upgrading from an older version you most likely have unneeded rhyme data sitting in MySQL. To remove it, first connect to MySQL as an administrator. Try:

mysql -u root -p

at a UNIX prompt and give it the proper MySQL root password. If successful, you should see something like:

Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 51 to server version: 3.22.32

Type 'help' for help.

mysql>

which indicates you are now connected. At the mysql> prompt, you can now type:

drop database rhymedict;

and the data should be removed. But there's probably still a guest user present on MySQL which should also be removed. Do this by typing:

delete from mysql.user where User="rhymeguest" and Host="localhost";

and the guest user should be removed. That's it! Just type "quit;" to exit MySQL and don't look back. Future versions of the Rhyming Dictionary will no longer use MySQL to store rhyming data. If you have no other use for MySQL, feel free to remove it from your system entirely.

Usage: rhyme [OPTIONS] < word >

Search type: (perfect rhyme is default) -s, --syllable returns only the number of syllables -m, --merged multiple pronunciations are merged

Miscellaneous options: -i, --interactive interactive mode -h, --help this help message -v, --version this program's version

RHYMEPATH the directory of the database files

The output is ordered by syllable count and alphabetized

What's New in This Release:

� After taking another break from pronunciation-building, I've eliminated the Python scripts (except for the test script, which I may keep) entirely. The reason for the scripts was to pre-parse the full dictionary into easily-digestible text files. That way, I could use Python for that ugly (and slow) grunt work without having to require the user to have Python installed - since the pre-parsed text would be included along with the dictionary. � But that wastes a lot of space and is rather painful to download over a 56k connection. I could either require everyone to have Python installed in order to save some space, or re-implement the GDBM-maker in C. The result is that the new GDBM-maker is a lot faster than the old one and is slightly smarter about handling multiple pronunciations. � At any rate, expect the next version to come in a much smaller tarball than before.

Update: � I've also stumbled upon a stupid bug in the merging routine that prints the words out of order. I'm going to release version 0.9 with that bug fixed and wait until version .10 to add a lot more words.

Rhyming Dictionary 0.9

add to watchlist add to download basket send us an update REPORT
  runs on:
Linux
  filename:
rhyme-0.9.tar.gz
  1 screenshot:
Rhyming Dictionary - screenshot #1
  main category:
Education
  developer:
  visit homepage

Windows Sandbox Launcher 1.0.0

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

Bitdefender Antivirus Free 27.0.35.146

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Zoom Client 6.0.3.37634

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

7-Zip 23.01 / 24.04 Beta

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

ShareX 16.0.1

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

Context Menu Manager 3.3.3.1

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

calibre 7.9.0

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

IrfanView 4.67

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

% discount
Context Menu Manager
  • Context Menu Manager
  • calibre
  • IrfanView
  • Windows Sandbox Launcher
  • Microsoft Teams
  • Bitdefender Antivirus Free
  • 4k Video Downloader
  • Zoom Client
  • 7-Zip
  • ShareX
essentials


Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy