Skip to main content

Library for convertation Belarusian texts from Cyrillic to other Belarusian alphabets

Project description

BelarusianConverter

Library for convertation Belarusian texts from Cyrillic to other Belarusian alphabets

Quick Start

$ pip install belarusianconverter

Code Example

# test.py
from BelarusianConverter import BelarusianConverter



script = BelarusianConverter()


if __name__ == '__main__':
  text = script.convert(0, 'А хто там ідзе?') # example
  print(text) # Return: "A chto tam idzie?"

'''
  BelarusianConverter.convert(alphabet: int, text: str, plosive_g = False, assimilation = False, iotation = False)
  alphabet:
    0 - LatinMuzyckajaPrauda (K. Kalinoŭski)
    1 - Latin1929 (B. Taraškievič)
    2 - Latin1962 (Ja. Stankievič)
    3 - LatinUnitedNations
    4 - Romanization2023
    5 - Arabic (Belarusian Tatars)
  plosive_g:
    True: H -> G in some words
    False: keep the original text
  assimilation:
    True: add a soft assimilation
    False: keep the original text
  iotation:
    True: I -> Ji/J after vowels
    False: keep the original text
'''

Links

About Belarusian Latin: Wikipedia
About Belarusian Arabic: Wikipedia

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

belarusianconverter-0.0.6.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

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

belarusianconverter-0.0.6-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file belarusianconverter-0.0.6.tar.gz.

File metadata

  • Download URL: belarusianconverter-0.0.6.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.13.0

File hashes

Hashes for belarusianconverter-0.0.6.tar.gz
Algorithm Hash digest
SHA256 d206c20ac2835760f86e4144a76bb4c1aecbde9225326a7402c3f3b502547b20
MD5 094cb8d32f8f4a39329737019c8440e4
BLAKE2b-256 82d25584e1ee0d3720708a7defb109ea6c414bc7379ef9aaecee4321ec3cdd81

See more details on using hashes here.

File details

Details for the file belarusianconverter-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for belarusianconverter-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9111083236bee69c62ae2a97e3c2b625896deefc5aab3055c81fbc94fe6fb7e5
MD5 c65fdf36c7a3508106417d1e908c0a41
BLAKE2b-256 56c607016893f9c4655c6cc052ef9b56c9727986df1232bc3988621c4249ea0e

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