Description Usage Arguments Value Examples
Add a custom rule for making a word singular
1 | add_singular_rule(plural_word, singular_word)
|
plural_word |
plural form of a word |
singular_word |
desired singular form of a word |
nothing (function produces a side effect of modifying in-memory internal package environment)
1 2 3 4 5 | add_singular_rule("singles", "singular")
singularize('singles')
pluralize("irregular")
pluralize(c("woman", "man", "child", "tooth", "foot", "person", "leaf"))
singularize(c("woman", "man", "child", "tooth", "foot", "person", "leaf"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.