uklatn

Ukrainian Cyrillic transliteration to Latin script


Keywords
swift, ukraine
License
MIT

Documentation

uklatn

Ukrainian Cyrillic transliteration to Latin script.

standwithukraine

JavaScript | Python | C | Java | .NET | Go | Swift | Ruby

Supported transliteration schemes:

JavaScript package

Install with npm:

npm install uklatn

Usage:

import * as uklatn from 'uklatn';
uklatn.encode("Доброго вечора!");
uklatn.decode("Paljanycja");

Python module

Install with pip:

pip install uklatn

Java library

Add dependency to pom.xml:

<dependency>
    <groupId>io.github.paiv.uklatn</groupId>
    <artifactId>uklatn</artifactId>
    <version>1.12.0</version>
</dependency>

.NET package

Add package dependency:

dotnet add package UkrainianLatin

Go package

Add package dependency:

go get github.com/paiv/uklatn/go/uklatn

Swift package

Add package dependency:

swift package add-dependency 'https://github.com/paiv/uklatn.git' --from '1.0.0'
swift package add-target-dependency --package uklatn UkrainianLatin <target-name>

Ruby Gem

Add gem dependency:

gem 'uklatn'

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.