Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sunny/rimes
Ruby script to find rhymes
https://github.com/sunny/rimes
Last synced: 3 months ago
JSON representation
Ruby script to find rhymes
- Host: GitHub
- URL: https://github.com/sunny/rimes
- Owner: sunny
- Created: 2008-10-23T18:36:42.000Z (about 16 years ago)
- Default Branch: main
- Last Pushed: 2020-06-14T09:54:48.000Z (over 4 years ago)
- Last Synced: 2024-10-10T00:58:44.445Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 336 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
Rime
====Small command line interface to find rhymes. These are found using two French dictionaries:
- `data/dict.dat`: a dictionary of words and their phonetic equivalent
- `data/syl.dat`: a dictionary of syllables and their phonetic equivalentInstall
-------```sh
$ git clone https://github.com/sunny/rimes
$ cd rimes
```Usage
-----```sh
$ bin/rime cho
artichaut (arti/o)
poncho (pôt/o)
réchaud (ré/o)
bouchot (bu/o)
manchot (mâ/o)
```Adding a syllable
-----------------If a syllable doesn't exist, for example:
```sh
$ bin/rime
No phonetic found for 'cha' (bin/rime --add-syllable cha phonetic)
```You can add it if you know the phonetic syntax:
```sh
$ bin/rime --add-syllable cha /a
```Adding a word
-------------If a word doesn't come up and you know the phonetic syntax, you can add it:
```sh
$ bin/rime --add-word chat /a
```Credits
-------- By Sunny Ripert
- Under the WTFPL http://sam.zoy.org/wtfpl/
- Thanks to bohwaz's http://tilt.eu.org/rimes/
- Using french lex from http://www.barbery.net/lebarbery/noindex/pourlesnuls-standard.htm