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.5.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

eng_syl-0.2.5-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eng-syl-0.2.5.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • 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.5.tar.gz
Algorithm Hash digest
SHA256 3d0049c826025a70887a47d9d1109f214f94a3cff32659de7aca402bac73d8fa
MD5 8f30c6947d2e042afc2711092ea101bb
BLAKE2b-256 0ec795047fc21e82e424fa06ee701422c4c65a37cca0f724643cff4ad34b6729

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eng_syl-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 23e4db5b27104868cc8bdc5b66acf75927a8d67845af3dae5f84e5eb177cd7e2
MD5 0d78dea013af37e8faab9da084b28fe7
BLAKE2b-256 e77a08115203e93cf8ea7ade8c88534b7683bfc9cb3062e1cfc3ab867b90a912

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