Simple and lightweight library that creates friendly names using nouns and adjectives.
Add library dependency:
compile "com.github.bgalek.utils:friendlynames:1.0.0"
You can use this library generate user-friendly names:
FriendlyNames.defaultDictionary(Locale.forLanguageTag("pl-PL")).random()
honorowa-mariola
FriendlyNames.defaultDictionary().stream().limit(10).forEach(System.out::println)
little-virgie
strong-rachel
military-wes
black-lenard
clear-nelia
important-hans
good-lessie
hard-roxann
real-madelaine
easy-mariela
You can provide your own set of nouns and adjectives
var dictionary = new FriendlyNamesDictionary(Set.of("noun"), Set.of("adjective"))
FriendlyNames.customDictionary(dictionary).random()
noun-adjective
- infinite stream of name combinations
- thread safe
- easy to use/extend