Latinizer v0.1.0 Latinizer.CharacterMap View Source

A module storing character mappings.

Link to this section Summary

Functions

Returns all of the character mapping as a single map. If chars is specified, it will return only a map of the specified characters to their latin equivalents

Link to this section Functions

Link to this function get_map(chars \\ []) View Source
get_map(list()) :: map()

Returns all of the character mapping as a single map. If chars is specified, it will return only a map of the specified characters to their latin equivalents.

Examples

iex> Latinizer.CharacterMap.get_map ["ł", "ó", "Ą"]
%{"ł" => "l", "ó" => "o", "Ą" => "A"}