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.3.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.3.tar.gz.
File metadata
- Download URL: belarusianconverter-0.0.3.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 |
230885d4fac9f552e73e2425a4936269f13145d5e9c30738858ef55ffbf10c9c
|
|
| MD5 |
9a9055a5c0a22aaa53ce7580183f4873
|
|
| BLAKE2b-256 |
f1acaa0c699183b5c7e0f307fd1c7a1e56c915babd6509967b156e945a0c3ebf
|
File details
Details for the file belarusianconverter-0.0.3-py3-none-any.whl.
File metadata
- Download URL: belarusianconverter-0.0.3-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 |
d5a1e91e2e4771c7804c42a2a85b0acf2888da70272d1a2d32357c4caeebee33
|
|
| MD5 |
f8b258d9b66659396cb217c914a6b5f9
|
|
| BLAKE2b-256 |
b768c6a7e0116936446dee5816746e74a451abb45292c2ac0d0b69cd23ed45f4
|