Skip to content

eigenhombre/nominal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nominal

A small library for generating names. Like this Clojure library but simpler and much faster.

API

All functions return strings unless noted otherwise.

(trad-name)Pick a name at random
(ngram-name)Pick a common n-gram; n one of (2 3 4)
(single-name)Either of the previous two
(full-name-as-list)A list of single names – usually 2 or 3 of them
(full-name-as-str)Same as above, but as a string with spaces

Example

(loop repeat 10 collect (full-name-as-str))
;;=>
'("Angella Tracy Ame" "Idmeli Willie" "Shel Arce" "Eri Ona"
  "Heri Mo Gu Mitchell Pansy" "Lyse Elen Willard Keisha"
  "Son Zola Allena Llevevin Lan Mmie" "Carleen Micheal" "Eannica Jenni Riel"
  "Glennie Iris")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published