Skip to content

samjay000/fluent-codes-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java fluent codes

This library can be used to generate fluent codes.

Example

To generate code with four words:

FluentCodes.generateCodeWithFourWords()
Output: fluffy-vacuum-misuse-deadly

To generate code with three words and six digits:

FluentCodes.generateCodeWithThreeWordsAndSixDigits()
Output: calmer-taints-fourty-887709

Or you can use builder methods:

new FluentCodes()
        .withJoiner("_")
        .withMinLength(4)
        .withMaxLength(10)
        .adjective()
        .verb()
        .noun()
        .sixDigits()
        .toString()
Output: acadmic_provided_writings_741319

Words

Words are generated using code @ https://github.com/sam-mmm/word_generator

Definitions of terms adjective, adposition, adverb, auxiliary, coordinatingConjunction, determiner, interjection, noun, numeral, particle, pronoun, properNoun, punctuation, subordinatingConjunction, symbol, verb are from https://universaldependencies.org/u/pos/

License

http://www.apache.org/licenses/LICENSE-2.0

About

Java library for generating fluent codes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages