friendly-names

Simple and lightweight library that creates friendly names using nouns and adjectives.

APACHE-2.0 License

Stars
2

Friendly names

Simple and lightweight library that creates friendly names using nouns and adjectives.

Usage

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

Features

  • infinite stream of name combinations
  • thread safe
  • easy to use/extend
Package Rankings
Top 38.64% on Repo1.maven.org
Badges
Extracted from project README
Quality Gate Status