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.BelarusianConverter 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
'''
- ???
- 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.1.tar.gz
(17.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file belarusianconverter-0.0.1.tar.gz.
File metadata
- Download URL: belarusianconverter-0.0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5df98f8396f4ae462e7716fa01385f9092998a094767e86929e01ebb12c6b8a1
|
|
| MD5 |
a4e19a050b629a0d58e561469a84067e
|
|
| BLAKE2b-256 |
21672c3fb3d1504352ee4ddd68e6bd9a28e2738f77fe532cb2b21ca59c853d50
|
File details
Details for the file belarusianconverter-0.0.1-py3-none-any.whl.
File metadata
- Download URL: belarusianconverter-0.0.1-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
434c1ab39ff0d6f9db5c519919dd56b56c2e70db918fda8151a5242b3adbf1a3
|
|
| MD5 |
22302f6ef5c6fe11d52e9ca25d856fc3
|
|
| BLAKE2b-256 |
30ec9f8097cf5d7fac1ba264edd6344268186dc0f50b9a27053ae47312b97342
|