(irregular? word)
checks if a work is irregular
(irregular? "geese") => true
checks if a work is irregular (irregular? "geese") => true
(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"
(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"
(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"
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close