Generate Heroku-like pronouncable strings in Elixir; inspired by spicy proton.
Thanks to NLTK for the word corpus.
Word lists are stored in runtime in a public-read ETS table.
Hukai.generate("%n")
Patterns:
%n
- a noun (max 6 letters)
%a
- an adjective (max 6 letters)
%b
- an adverb
%v
- a verb
%C
- a color
%A
- an animal
If available in Hex, the package can be installed
by adding hukai
to your list of dependencies in mix.exs
:
def deps do
[
{:hukai, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/hukai.