{"id":13426101,"url":"https://github.com/hrbrmstr/pluralize","last_synced_at":"2025-03-21T12:30:54.698Z","repository":{"id":53469605,"uuid":"49167896","full_name":"hrbrmstr/pluralize","owner":"hrbrmstr","description":"An R package to \"Pluralize and Singularize Any Word\"","archived":false,"fork":false,"pushed_at":"2023-02-22T22:53:23.000Z","size":222,"stargazers_count":62,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T06:09:56.359Z","etag":null,"topics":["plural","r","rstats","singularize"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/hrbrmstr.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"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}},"created_at":"2016-01-06T23:23:30.000Z","updated_at":"2024-06-27T22:47:40.000Z","dependencies_parsed_at":"2024-06-11T19:12:57.477Z","dependency_job_id":"f0551cce-b872-4b3d-a6c1-ec3e41d2ca64","html_url":"https://github.com/hrbrmstr/pluralize","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fpluralize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fpluralize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fpluralize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fpluralize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrbrmstr","download_url":"https://codeload.github.com/hrbrmstr/pluralize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244135909,"owners_count":20403798,"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","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":["plural","r","rstats","singularize"],"created_at":"2024-07-31T00:01:26.337Z","updated_at":"2025-03-21T12:30:54.371Z","avatar_url":"https://github.com/hrbrmstr.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"---\noutput: rmarkdown::github_document\neditor_options: \n  chunk_output_type: console\n---\n```{r pkg-knitr-opts, include=FALSE}\nhrbrpkghelpr::global_opts()\n```\n\n```{r badges, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::stinking_badges()\n```\n\n```{r description, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::yank_title_and_description()\n```\n\n## What's Inside The Tin\n\nThe following functions are implemented:\n\n```{r ingredients, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::describe_ingredients()\n```\n\n## Installation\n\n```{r install-ex, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::install_block()\n```\n\n## Usage\n\n```{r lib-ex}\nlibrary(pluralize)\n\n# current version\npackageVersion(\"pluralize\")\n\n```\n\n```{r ex-01}\npluralize('test')\n\nsingularize('test')\n\nsingularize(c(\"boats\", \"houses\", \"cats\", \"rivers\"))\n\npluralize(singularize(c(\"boats\", \"houses\", \"cats\", \"rivers\")))\n\nsingularize(c(\"buses\", \"wishes\", \"pitches\", \"boxexs\"))\n\npluralize(singularize(c(\"buses\", \"wishes\", \"pitches\", \"boxexs\")))\n\nsingularize(c(\"pennies\", \"spies\", \"babies\", \"cities\", \"daisies\"))\n\npluralize(singularize(c(\"pennies\", \"spies\", \"babies\", \"cities\", \"daisies\")))\n\nsingularize(c(\"sheep\", \"fish\", \"deer\", \"species\", \"aircraft\"))\n\npluralize(singularize(c(\"sheep\", \"fish\", \"deer\", \"species\", \"aircraft\")))\n\npluralize('test', 5)\n\npluralize('test', 5, TRUE)\n\npluralize('regex')\n\nadd_plural_rule(\"gex\", \"gexii\")\n\npluralize('regex')\n\nsingularize('singles')\n\nadd_singular_rule(\"singles\", \"singular\")\n\nsingularize('singles')\n\npluralize(\"irregular\")\n\npluralize(c(\"woman\", \"man\", \"child\", \"tooth\", \"foot\", \"person\", \"leaf\"))\n\nsingularize(c(\"woman\", \"man\", \"child\", \"tooth\", \"foot\", \"person\", \"leaf\"))\n\nadd_irregular_rule(\"irregular\", \"regular\")\n\npluralize(\"irregular\")\n\npluralize(\"paper\")\n\nadd_uncountable_rule(\"paper\")\n\npluralize(\"paper\")\n```\n\n### pluralize Metrics\n\n```{r cloc, echo=FALSE}\ncloc::cloc_pkg_md()\n```\n\n## Code of Conduct\n\nPlease note that this project is released with a Contributor Code of Conduct. \nBy participating in this project you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fpluralize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrbrmstr%2Fpluralize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fpluralize/lists"}