Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/paiv/uklatn

Ukrainian Cyrillic transliteration to Latin script
https://github.com/paiv/uklatn

swift ukraine

Last synced: about 10 hours ago
JSON representation

Ukrainian Cyrillic transliteration to Latin script

Awesome Lists containing this project

README

        

uklatn
==
Ukrainian Cyrillic transliteration to Latin script.

[![standwithukraine](docs/StandWithUkraine.svg)](https://ukrainewar.carrd.co/)
[![](https://github.com/paiv/uklatn/actions/workflows/test-builds.yml/badge.svg)](https://github.com/paiv/uklatn/actions)

[JavaScript](#javascript-package) | [Python](#python-module) | [C](c/) | [Java](#java-library) | [Swift](#swift-package) | [Ruby](#ruby-gem)

Supported transliteration schemes:
- [DSTU 9112:2021](https://uk.wikipedia.org/wiki/ДСТУ_9112:2021)
- [KMU 55:2010](https://zakon.rada.gov.ua/laws/show/55-2010-п)

JavaScript package
--
- [uklatn JavaScript package](js/)

Install with npm:
```sh
npm install uklatn
```

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

Python module
--
- [uklatn Python module](python/)

Install with pip:
```sh
pip install uklatn
```

Usage:
```py
import uklatn
uklatn.encode("Доброго вечора!")
uklatn.decode("Paljanycja")
```

Java library
--
- [uklatn Java library](java/)

Add dependency to pom.xml:
```pom.xml

io.github.paiv.uklatn
uklatn
1.12.0

```

Swift package
--
- [uklatn Swift package](swift/)

Add package dependency:
```sh
swift package add-dependency 'https://github.com/paiv/uklatn.git' --from '1.0.0'
swift package add-target-dependency --package uklatn UkrainianLatin
```

Ruby Gem
--
- [uklatn Ruby gem](ruby/)

Add gem dependency:
```ruby
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.