Vasov implements text transliteration from bulgarian cyrillic to latin according to the streamlined system officially adopted in Bulgaria.
The name is an homage to Ivan Vazov (Иван Вазов).
The package can be installed by adding vasov
to your list of dependencies in mix.exs
:
def deps do
[
{:vasov, "~> 1.0.0"}
]
end
iex> Vasov.transliterate_to_latin("Бургас")
"Burgas"
iex> Vasov.transliterate_to_latin("София")
"Sofia"
iex> Vasov.transliterate_to_latin("България")
"Bulgaria"