The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

rhyme - Binary application for Word::Rhymes.

Usage

    rhyme [OPTIONS] <word> [context]

For OPTIONS, see "Options". word is the word we'll find rhyming words for. context is optional, and if sent in, we'll return only rhyming words that match in that context. Eg. Find rhyming words that rhyme with 'word', but only if they relate to say 'breakfast'.

Options

-h|--help

Display the usage screen.

-b|--sort_by

Sorts the output prior to displaying it.

Valid values:

    score_desc

Sorts by score, in descending order (eg. 100-1). This is the default.

    score_asc

Sorts by score, in ascending order (eg. 1-100).

    alpha_desc

Sorts the words alphabetically, descending (eg. a-z).

    alpha_asc

Sorts the words alphabetically, ascending (eg. z-a).

Default: score_desc

-s|--syllables

We will only display words that have this many or more syllables.

Valid values:

    1-100

Default: 1

-S|--score

We will only display rhyming words with a score equal to or greater than this.

Valid values:

    0-1000000

Default: 0

-l|--limit

Limits the number of rhyming words displayed under each syllable section.

Valid values:

    1-1000

Default: 1000

-r|--results

How many rhyming word objects we'll fetch over the Internet.

Valid values:

    1-1000

Default: 1000

-m|--multi

Some rhyming words are actually multi-word phrases. Set this flag to have us display them. By default we don't.

Valid values: None, this is only a flag.

Default: False/Disabled

AUTHOR

Steve Bertrand, <steveb at cpan.org>

LICENSE AND COPYRIGHT

Copyright 2020 Steve Bertrand.

This program is free software; you can redistribute it and/or modify it under the terms of the the Artistic License (2.0). You may obtain a copy of the full license at:

http://www.perlfoundation.org/artistic_license_2_0