Czech Syllable Splitter
Alogirthm for splitting Czech words into syllables. Inspired by a syllable counting algorithm from David Lukeš counting the vowels.
With Klára Bendová we put together rules to expand the vowels into syllables, empirically finding some common letter groups to stay intact.
This is not a perfect solution, but it is a good start for Czech language processing. Measuring the accuracy of this algorithm is a to-do, as well as adding more rules if needed.
Installation
pip install czech-syllable-splitter
or using Poetry package manager
poetry add czech-syllable-splitter
Usage
from czech_syllable_splitter import count_syllables, split_to_syllables, split_to_characters
print(split_to_syllables("příliš"))
print(split_to_characters("přesný"))
print(count_syllables("přísný"))
Lint & Test
poetry run python3 -m pytest
poetry run mypy czech_syllable_splitter
poetry run pylint czech_syllable_splitter
Metadata
Release files for czech-syllable-splitter 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| czech_syllable_splitter-0.1.0.tar.gz | 3.6 kB | Without provenance | Details for czech_syllable_splitter-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| czech_syllable_splitter-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for czech_syllable_splitter-0.1.0-py3-none-any.whl |
Total release size: 7.9 kB
Release files / czech_syllable_splitter-0.1.0.tar.gz
| Download URL | czech_syllable_splitter-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2bf0b0cc55417fa750a5fb51fbde1a98038bf611f9e9efd88ba349ed2bdba509
|
|
BLAKE2b-256 checksum How to use checksums |
0bb023bec9b5d9aa36782610a247dc2dfd1eb8f837cd5cb229a24a9dbd9bf4e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.12
|
Release files / czech_syllable_splitter-0.1.0-py3-none-any.whl
| Download URL | czech_syllable_splitter-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a787fc2d045c1df6d7b10196ed8d5f9db4dc4a7556fb5bd6305c23471cc793ec
|
|
BLAKE2b-256 checksum How to use checksums |
3723b2088e9eef5f94b5cfec8983403fca2b70320b7cb2f018970daf05428888
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.12
|
Security for czech-syllable-splitter 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.