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

Uploaded Source

File details

Details for the file eng-syl-1.0.8.tar.gz.

File metadata

  • Download URL: eng-syl-1.0.8.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

Hashes for eng-syl-1.0.8.tar.gz
Algorithm Hash digest
SHA256 5ea9f4d32e3aaef23e660384a33dea7ec7baaa28a094edf9b7f619fe06f37d42
MD5 56347d64b2b52c9d6a016752c976a606
BLAKE2b-256 bd8666f5b7e403b550e26552202b1f8bde308fa71f250ab8d34f2eddd26d40b1

See more details on using hashes here.

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