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
import belarusianconverter



if __name__ == '__main__':
  BelarusianConverter = BelarusianConverter()
  text = BelarusianConverter.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
'''
  1. ???
  2. Profit.

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.2.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.2-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: belarusianconverter-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 063212e5723010a269b03ad75ccac1e991a1bd1a9f7b4293dcacaa0491ef95c7
MD5 c3307b12b49fec952271a418024da099
BLAKE2b-256 3f85b15f1c4fcd8a5bc477c2939c5450890c55b7c02ec3f2cf2fa96ddd6b2668

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for belarusianconverter-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f71fb977c4281711de39bac7ada3e6db88720c7772a320a89977edf22686adb
MD5 46f758cd8a81f5fcf7de0756cbe77325
BLAKE2b-256 b7e84843a88c6542949bef6b31ed4f949305cbd48c70510e6fcf106f4cde8e6d

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