View Source Buzzword.Cache.Loader (Buzzword Cache v0.1.10)

Reads a CSV file of buzzwords (phrases and their assigned point values). Returns a map containing the phrases as keys and the points as values.

Summary

Functions

Reads a CSV file of buzzwords (phrases and their assigned point values). Returns a map containing the phrases as keys and the points as values.

Functions

@spec read_buzzwords() :: Buzzword.Cache.buzzwords()

Reads a CSV file of buzzwords (phrases and their assigned point values). Returns a map containing the phrases as keys and the points as values.

Examples

iex> alias Buzzword.Cache.Loader
iex> %{"Low-Hanging Fruit" => points} = Loader.read_buzzwords()
iex> points
300