Buzzword.Cache.Loader (Buzzword Cache v0.1.11)

View Source

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

read_buzzwords()

@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