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
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.4.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.4.tar.gz.
File metadata
- Download URL: belarusianconverter-0.0.4.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 |
0e8911bbef32232e41f8d390efd2b49588870ea4db6cae6a407066b20eec0593
|
|
| MD5 |
d13c3e7cbb2e0ba4e98168ae395b428b
|
|
| BLAKE2b-256 |
02f2c3a731aa691c8af98da508e548c4e9cbb3d48d18a7cc2a40f6c823b36d89
|
File details
Details for the file belarusianconverter-0.0.4-py3-none-any.whl.
File metadata
- Download URL: belarusianconverter-0.0.4-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 |
9e29ab0e373eaf9219b8b4cba58e201eab678a18c9c6bc9590708901adaa5bb4
|
|
| MD5 |
a5b5c92f899bc79ae1d4cf479f2ce65e
|
|
| BLAKE2b-256 |
3753fecec0e121c26f892bd6818f66d023c2669361d839c1b2e1765c9d84b2ca
|