Liking cljdoc? Tell your friends :D

flock.twink


double-names-localesclj

source

localesclj

source

namesclj

source

parseclj

(parse n)
(parse n locale)
(parse n locale force?)

Tries to find sex and full first name from input string. Uses list of dictionaries to translate short name to full name and name to sex. Dictionaries are used in predefined order: :ru :tr :es2 :es, caller can pass desired locale to promote it in front of the list. Returns nil or dictionary with keys: :first-name -- translated and capitalized name; :sex -- :male/:female or nil for unisex name; :locale -- locale used to find sex/full name

Tries to find sex and full first name from input string.
Uses list of dictionaries to translate short name to full name and name to sex.
Dictionaries are used in predefined order: :ru :tr :es2 :es, caller can
pass desired locale to promote it in front of the list.
Returns nil or dictionary with keys:
  :first-name -- translated and capitalized name;
  :sex -- :male/:female or nil for unisex name;
  :locale -- locale used to find sex/full name
sourceraw docstring

russian-namesclj

source

SEXclj

source

sexesclj

source

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

× close