Liking cljdoc? Tell your friends :D

hara.string.plural


*initalized*clj


*plural-irregular*clj


*plural-rules*clj


*singular-irregular*clj


*singular-rules*clj


*uncountable*clj


+base-irregular+clj


+base-plural+clj


+base-singular+clj


+base-uncountable+clj


irregular?clj

(irregular? word)

checks if a work is irregular

(irregular? "geese") => true

checks if a work is irregular

(irregular? "geese")
=> true
raw docstring

pluralclj

(plural s)

converts a word into its plural

(plural "man") => "men"

(plural "rate") => "rates"

(plural "inventory") => "inventories"

(plural "moose") => "moose"

converts a word into its plural

(plural "man")
=> "men"

(plural "rate")
=> "rates"

(plural "inventory")
=> "inventories"

(plural "moose")
=> "moose"
raw docstring

resolve-rulesclj

(resolve-rules rules word)

goes through rules and checks if there is a matching pattern

(resolve-rules @singular-rules "hello") => nil

(resolve-rules @singular-rules "hellos") => "hello"

goes through rules and checks if there is a matching pattern

(resolve-rules @*singular-rules*
               "hello")
=> nil

(resolve-rules @*singular-rules*
               "hellos")
=> "hello"
raw docstring

singularclj

(singular s)

converts a word into its singular

(singular "rats") => "rat"

(singular "geese") => "goose"

converts a word into its singular

(singular "rats")
=> "rat"

(singular "geese")
=> "goose"
raw docstring

uncountable?clj

(uncountable? word)

checks if a word is uncountable

(uncountable? "gold") => true

(uncountable? "moose") => true

checks if a word is uncountable

(uncountable? "gold")
=> true

(uncountable? "moose")
=> true
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close