No project description provided
Project description
# English Syllabifier (Eng_Syl)
This Python package defines a wordSegmenter Class that can syllabify English words! The class uses a Bidirectional LSTM seq2seq model trained on data from the Celex database to provide a best guess segmentation of any given English word.
Usage
Initialize a Segmenter with
from eng_syl import wordSegmenter
syllabifier = wordSegmenter()
Build the inference model by building the base model, loading weights, and building the final model.
syllabifier.build_training_model()
syllabifier.load_model_weights()
syllabifer.build_inference_model()
Translate
After the inference model is built, segment words with syllabifier.translate()
segmented_string = syllabifier.translate("syllable")
print(segmented_string)
"syl-la-ble"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eng-syl-0.2.15.tar.gz
(90.2 MB
view details)
Built Distribution
eng_syl-0.2.15-py3-none-any.whl
(90.2 MB
view details)
File details
Details for the file eng-syl-0.2.15.tar.gz
.
File metadata
- Download URL: eng-syl-0.2.15.tar.gz
- Upload date:
- Size: 90.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a33dbe686ba34d3c02809a32b49f1bd26bd6202f57cd4418f12c7f349d3383b |
|
MD5 | 985630c0cb2eb8aa76553dfb3645da74 |
|
BLAKE2b-256 | 4e34470430899b587c5f60da15dc85773312e5318480b904736357eba9c92ca4 |
File details
Details for the file eng_syl-0.2.15-py3-none-any.whl
.
File metadata
- Download URL: eng_syl-0.2.15-py3-none-any.whl
- Upload date:
- Size: 90.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29709e51344100fd5f9a7791a6eb96900b1ff8e3c7a614c19396216ea7500ecc |
|
MD5 | 1e0f344b260598fad15ffe8019a0d6a1 |
|
BLAKE2b-256 | ee18eb2491347c793c7686ff9abbb9afb2daec8a6b1c8b97b922674c295fa637 |