UzSyllable | The Syllable Separator, Line breaks and Counter for Uzbek Language
Project description
UzSyllable
https://pypi.org/project/UzSyllable
https://github.com/UlugbekSalaev/UzSyllable
UzSyllable tool is focused to make division of syllables and end of line breaks of Uzbek language. The tool includes Syllabification, End-of-Line, Count of Syllables methods. It is created as a python library and uploaded to PyPI. It is simply easy to use in your python project or other programming language projects via the API.
About project
The UzSyllable project is a text processing tool that includes three main methods: syllabification, end-of-line, and count of syllables. Syllabification involves dividing words in Uzbek text into their constituent syllables, which can be useful for pronunciation, spelling, and linguistic analysis. End-of-line justification involves determining the appropriate places to break lines in Uzbek text, which can improve the readability and aesthetics of written materials. Count of syllables involves counting the number of syllables in a given word or sentence, which can be useful for metrics such as rhyme and meter in poetry or for determining the complexity of a text. The UzSyllable project uses machine learning algorithms and linguistic rules to perform these methods accurately and efficiently on Uzbek text.
Quick links
Features
- Syllabification
- Hyphenation
- Count of Syllables
Usage
Three options to use UzSyllable:
- pip
- Web tool
- API
pip installation
To install UzSyllable, simply run:
pip install UzSyllable
After installation, use in python like following:
Syllabification
from UzSyllable import syllables
print(syllables('maktabimda'))
# Output : ['mak-ta-bim-da']
print(syllables('мактабимда'))
# Output : ['мак-та-бим-да']
Hyphenation
from UzSyllable import hyphenation
# call hyphenation method
print(hyphenation('maktabimda'))
# Output : ['mak-tabimda', 'makta-bimda', 'maktabim-da']
Count of Syllables
from UzSyllable import count
# call count of syllables method
print(count('maktabimda'))
# Output : 4
Web interface
You can use web interface.
API
Syllabification
-
URL: https://api.urdu.uz/syllables
-
Method: POST
-
Parametres: word
-
Example Request: https://api.urdu.uz/syllables?word=maktab
Hyphenation
-
URL: https://api.urdu.uz/line-break-syllables
-
Method: POST
-
Parametres: word
-
Example Request: https://api.urdu.uz/line-break-syllables?word=maktabgacha
Count of Syllables
-
URL: https://api.urdu.uz/count-syllables
-
Method: POST
-
Parametres: word
-
Example Request: https://api.urdu.uz/count-syllables?word=maktabgacha
Citation
@misc{UzSyllable,
title={UzSyllable}: Syllabification Tool for Uzbek},
url={https://github.com/UlugbekSalaev/UzSyllable},
note={Software available from https://github.com/UlugbekSalaev/UzSyllable},
author={
Ulugbek Salaev},
year={2023},
}
Contact
For help and feedback, please feel free to contact the author.
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
Built Distribution
File details
Details for the file UzSyllable-0.0.8.tar.gz
.
File metadata
- Download URL: UzSyllable-0.0.8.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e4cbf42831a9b846a739122131e2dc95d4b1f9dac96e688874fc4f988ead045 |
|
MD5 | c7f6ab1acf3114dc26f7ab32870f9234 |
|
BLAKE2b-256 | 58b243ffa2564871c3312643da6677bc41ad4d66b0ccacdc8b146e4388bb3d2e |
File details
Details for the file UzSyllable-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: UzSyllable-0.0.8-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e167649231d28a49a44ef37220600ae6706adf757487bee78daeb1b7d74c407f |
|
MD5 | 70b25662add0a7f6cb65e362bc63bb8c |
|
BLAKE2b-256 | 7a27492b8f39fff779ff5d4e65cd51998e11f17f9187a1f909cf63dbf03af7fb |