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 | PHP | Elixir | Swift | Ruby | Rust

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.20.2</version>
</dependency>

.NET package

Add package dependency:

dotnet add package UkrainianLatin

Go package

Add package dependency:

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

PHP package

Add package dependency:

php composer.phar require 'paiv/uklatn'

Elixir package

Add package dependency:

{:uklatn, "~> 1.20"}

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'

Rust crate

Add package dependency:

cargo add 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.