(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close