View Source Trivium.Dictionary (trivium v0.3.0)

Responsible for loading the dictionaries of known words into memory for faster access.

Summary

Functions

Returns a specification to start this module under a supervisor.

Calculate the entropy of the generated slugs. Entropy is a measure of the uncertainty or randomness of the generated slugs and is calculated as the product of the number of words in each category used.

Callback implementation for GenServer.init/1.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Calculate the entropy of the generated slugs. Entropy is a measure of the uncertainty or randomness of the generated slugs and is calculated as the product of the number of words in each category used.

Link to this function

handle_continue(atom, map)

View Source

Callback implementation for GenServer.handle_continue/2.

Callback implementation for GenServer.init/1.