Skip to main content

Funny little ussifier.

Project description

# Ussy Being human, we've all come across this familiar issue before.

There are just so many words in the English language to ussify! How can I possibly cope with ussifying them all?

With this pervasive problem in mind, I've created the Ussy module, a Python package dedicated to solving all of your ussification needs.

This module algorithmically ussifies words by estimating a word's phonemic sequence, and popping phonemes from the end of the word until a plosive consonant is reached. If a suitable plosive consonant is identified, "ussy" is appended to the remained grapheme sequence and returned.

Usage

from ussy.ussify import Ussy

ussy = Ussy()
ussified = ussy.ussify("raspberry")
print(ussified)

"raspberrussy"

Ussy.ussify(word, plural)

string word: alphabetic English word string to be ussified

boolean plural: true if ussified word is plural, default false if singular

returns false if given string is unussifiable, or ussified string otherwise

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

ussy-1.0.4.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

ussy-1.0.4-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file ussy-1.0.4.tar.gz.

File metadata

  • Download URL: ussy-1.0.4.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for ussy-1.0.4.tar.gz
Algorithm Hash digest
SHA256 39298099d1d69ae2d1ef31d28a1253197e61f4551b0500d24e77ac6e4db0196c
MD5 f863e08e4840586d8713f22118d9d3af
BLAKE2b-256 f79f73eea9aa48683133aad9cd858f78dcbb785dd327a496316f3c38863eb6c3

See more details on using hashes here.

File details

Details for the file ussy-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: ussy-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for ussy-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2fdb3366fcaf39202c8fde5413f98b7f5403fd3cf28420c8b615006f98e47f15
MD5 41665a6f5eda28444ad4ac21d5690b2d
BLAKE2b-256 6a4e948ccc4a352bba92e370a88071c45dde050988826eab61715194e11f1126

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