Skip to main content

Ukrainian Cyrillic transliteration to Latin script

Project description

uklatn

Ukrainian Cyrillic transliteration to Latin script.

Supported transliteration schemes:

Usage:

import uklatn

uklatn.encode("Доброго вечора!")
uklatn.decode("Paljanycja")

Set the transliteration scheme:

uklatn.encode("Борщ", uklatn.DSTU_9112_B)
uklatn.encode("Шевченко", uklatn.KMU_55)

Notes

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

Module command line

python -m uklatn 'моє щастя'
usage: uklatn [-h] [-f FILE] [-t {DSTU_9112_A,DSTU_9112_B,KMU_55}] [-l] [-c] [text ...]

positional arguments:
  text                  text to transliterate

options:
  -h, --help            show this help message and exit
  -f, --file FILE       read text from file
  -t, --table {DSTU_9112_A,DSTU_9112_B,KMU_55}
                        transliteration system (default: DSTU_9112_A)
  -l, --latin, --lat    convert to Latin script (default)
  -c, --cyrillic, --cyr
                        convert to Cyrillic script

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uklatn-1.20.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uklatn-1.20.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file uklatn-1.20.0.tar.gz.

File metadata

  • Download URL: uklatn-1.20.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for uklatn-1.20.0.tar.gz
Algorithm Hash digest
SHA256 35455e91b29db55b51a0a5efd7f630a0bfcbfd0be156d4e3af1abbcb23678077
MD5 ff32c07837714f51f4b840c4b57f9379
BLAKE2b-256 079d791605d741e4fa68f6aa82d3e9a38b0551b4e2fee3d8eadc229a42d54bad

See more details on using hashes here.

File details

Details for the file uklatn-1.20.0-py3-none-any.whl.

File metadata

  • Download URL: uklatn-1.20.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for uklatn-1.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4edfebe886e35bae9da337837ef5680c206cee84b2e332557d8f6f3e9ab9f1d2
MD5 40e38b6ca117d1ababd0ccb6e3b99d5a
BLAKE2b-256 0979c8fd4d3618aec4a52565a688f819a4d7433781df01bc43e8e6af1dbc4336

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page