Skip to main content

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


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

Uploaded Source

Built Distribution

eng_syl-0.2.10-py3-none-any.whl (90.2 MB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for eng-syl-0.2.10.tar.gz
Algorithm Hash digest
SHA256 fc742f3046bd9aa08168cb3632d6e21f6c4ff7755b2906282402f575bf416b6a
MD5 dc221f4d1c3efcac83672c3c11e06d8c
BLAKE2b-256 de18ae863e23eebf002d91360ffd4efb4bcaec961fdb1a485e83a66af725f155

See more details on using hashes here.

File details

Details for the file eng_syl-0.2.10-py3-none-any.whl.

File metadata

  • Download URL: eng_syl-0.2.10-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

Hashes for eng_syl-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 d290b2d1d1670f16e06b47212482d50b8779484e9b88d64a63a7b71b08101541
MD5 15ff115b69d70ff909c1d35c26c2ea90
BLAKE2b-256 9fbf5f92d02b53b411e934e1997a5ed25b4255487350eb1901f23e5f12a82852

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