A small library for generating names. Like this Clojure library but simpler and much faster.
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 |
(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")