Skip to main content

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.

image

API

Syllabification

Hyphenation

Count of Syllables

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

UzSyllable-0.0.8.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

UzSyllable-0.0.8-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page