Skip to main content

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.syllabifier 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


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.7.tar.gz (45.2 MB view hashes)

Uploaded Source

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