{"id":32200391,"url":"https://github.com/landesbergn/rhymer","last_synced_at":"2025-10-22T03:47:22.783Z","repository":{"id":56936104,"uuid":"110374579","full_name":"landesbergn/rhymer","owner":"landesbergn","description":"R package for finding related words through the Datamuse API","archived":false,"fork":false,"pushed_at":"2025-05-19T01:16:35.000Z","size":3044,"stargazers_count":26,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-22T03:47:18.156Z","etag":null,"topics":["datamuse-api","r","rhymes"],"latest_commit_sha":null,"homepage":"https://landesbergn.github.io/rhymer/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/landesbergn.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-11-11T19:42:38.000Z","updated_at":"2025-05-19T01:16:38.000Z","dependencies_parsed_at":"2025-09-08T16:36:14.556Z","dependency_job_id":null,"html_url":"https://github.com/landesbergn/rhymer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/landesbergn/rhymer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landesbergn%2Frhymer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landesbergn%2Frhymer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landesbergn%2Frhymer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landesbergn%2Frhymer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/landesbergn","download_url":"https://codeload.github.com/landesbergn/rhymer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/landesbergn%2Frhymer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280376534,"owners_count":26320276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datamuse-api","r","rhymes"],"created_at":"2025-10-22T03:47:22.012Z","updated_at":"2025-10-22T03:47:22.775Z","avatar_url":"https://github.com/landesbergn.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\"\n)\nsuppressMessages(library(rhymer))\n```\n\n# rhymer\n[![Build Status](https://app.travis-ci.com/landesbergn/rhymer.svg?token=wvikPFUvH42xDyAHDbvM\u0026branch=master)](https://app.travis-ci.com/landesbergn/rhymer)\n[![Coverage Status](https://img.shields.io/codecov/c/github/landesbergn/rhymer/master.svg)](https://app.codecov.io/github/landesbergn/rhymer?branch=master)\n[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/rhymer)](https://cran.r-project.org/package=rhymer)\n[![](https://cranlogs.r-pkg.org/badges/grand-total/rhymer)](https://cran.r-project.org/package=rhymer)\n\n### Overview\nThe goal of `rhymer` is to get rhyming and other related words through the [Datamuse API](https://www.datamuse.com/api/). This package includes basic functions to get rhymes and other similar words based on meaning, spelling, or sound.  \n\n## Installation\n\n```{r gh-installation, eval = FALSE}\ninstall.packages(\"rhymer\")\n\n# Or the the development version from GitHub:\n# install.packages(\"devtools\")\ndevtools::install_github(\"landesbergn/rhymer\")\n```\n\n## Example\nThey say nothing rhymes with _orange_...\n\n```{r example1}\nget_rhyme(\"orange\", return_type = \"word\")\n```\n\nFeeling down? How about this cloud of words with similar meaning to _happy_:\n\n```{r example2}\nword_data \u003c- get_means_like(\"happy\", return_type = \"df\")\nwordcloud::wordcloud(words = word_data$word, \n                     freq = word_data$score, \n                     colors = c(\"lightsteelblue1\",\"lightsteelblue2\",\"lightsteelblue3\",\"lightsteelblue\"))\n```\n\nEminem wrote the classic rap song ['Lose Yourself'](https://genius.com/Eminem-lose-yourself-lyrics), but could it be better with `rhymer`?\n\n```{r}\nglue::glue(\"\n  His palms are sweaty\n  Knees weak arms are {get_rhyme('sweaty', return_type = 'word', num_syl = 2)}\n\n  There's vomit on his sweater already\n  Mom's {get_rhyme('already', return_type = 'word', num_syl = 3)}\n\")\n```\n  \n## Main functions\n`rhymer` has 4 main functions that allow you to get data on related words through the Datamuse API.    \n  \nThey are: \n\n  - `get_rhyme()` - a function to get rhyming words  \n  - `get_means_like()` - a function to get words with similar meaning  \n  - `get_sounds_like()` - a function to get words that sound similar  \n  - `get_spelled_like()` - a function to get words that are spelled similarly  \n\nThere is also a more flexible function `get_other_related()` that allows you to use the API to get data on other related words using a series of 'codes' described on the [Datamuse API website](https://www.datamuse.com/api/).  \n\nEach function takes the basic arguments of:  \n\n  - `word` the word to base results on  \n  - `return_type` what type of data return (options are _df_ for a data frame, _vector_ for a vector, _word_ for a single word, and _random\\_word_ for a random word)  \n  - `limit` max number of related words to return  \n  \n`get_rhyme()` and `get_sounds_like()` also have special helpers for the number of syllables to return called `num_syl`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flandesbergn%2Frhymer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flandesbergn%2Frhymer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flandesbergn%2Frhymer/lists"}