Paiv.UkrainianLatin

Ukrainian Cyrillic transliteration to Latin script.

Supported transliteration schemes:

Usage

import Paiv.UkrainianLatin
encode("Доброго вечора!")
#=> "Dobroğo večora!"

decode("Paljanycja")
#=> "Паляниця"

Set the transliteration scheme:

encode("Борщ", :DSTU_9112_B)
#=> "Borshch"

Notes

Input is assumed to be in Ukrainian (Cyrillic or Latin script), and will be processed in full. If your data has mixed languages, do preprocessing to extract Ukrainian chunks.