English word syllabifier
Project description
# English Syllabifier (eng_syl) This program implements a sequence labelling Bidirectional LSTM to identify syllable boundaries in English words. The model was trained on data from the WebCelex English wordform corpus.
Use the syllabify()
function from the Syllabel
class to syllabify your words:
>>> from eng_syl import Syllabel >>> sylabler = Syllabel() >>> syllabler.syllabify("chomsky") 'chom-sky'
syllabify()
parameters
- text: string- English text to be syllabified. Input should only contain alphabetic characters.
syllabify()
returns the given word with hyphens inserted at syllable boundaries.
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-1.0.1.tar.gz
(45.2 MB
view details)
File details
Details for the file eng-syl-1.0.1.tar.gz
.
File metadata
- Download URL: eng-syl-1.0.1.tar.gz
- Upload date:
- Size: 45.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dfe5cf91734713769ee03989c8585a33897b7c7e1893a5d0c5f845ea52c039b |
|
MD5 | c09e2b8402c91bc04da4b9ab6c4063bb |
|
BLAKE2b-256 | c8a569e7e51d26f353a1490a421377b9f80fc8211f8843f9b499f16ff9ec059b |