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.3.tar.gz
(45.2 MB
view details)
File details
Details for the file eng-syl-1.0.3.tar.gz
.
File metadata
- Download URL: eng-syl-1.0.3.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 | 5c57dacc5787272a8f54230ab854167d5b7918d3972ee3b8732e7f81261c8eaa |
|
MD5 | c55e71ed8c023481fa7ae569a10fc80a |
|
BLAKE2b-256 | 64e59450dbd6b53c72c55ddb74d4bfa1a8496dcbe997e1cedb5309f4255a1c03 |