spooner
Project description
spooner
Generates spoonerisms based on sounds in words. Created just for fun and learning.
STANDARD DISCLAIMER: Spoonerisms made by this program are not guaranteed to be funny, but they are technically spoonerisms. |
---|
Installation
pip install spooner
Usage
Use it like this:
>>> import spooner as sp
>>> sp.phonemes("trail")
['T', 'R', 'EY1', 'L']
>>> sp.spoon("trail snacks")
{'trail': ['snail'], 'snacks': ['tracks', 'trax']}
>>> sp.spoonsentence("let's eat trail snacks")
["let's treat ail snacks", "let's treat ale snacks", "let's eat snail tracks", "let's eat snail trax"]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spooner-0.5.11.tar.gz
(43.8 kB
view hashes)
Built Distribution
Close
Hashes for spooner-0.5.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 653d8c3b64fff7fb1a462a14f49399ce25272cf006a64f16fa4a02bda40b82ab |
|
MD5 | ba1e5a8ef942c55d915e9d51bbe4c024 |
|
BLAKE2b-256 | 515c999dcb7df20d1bbfc7f9c2668f58dd452214d1af0f25c4b773220863c63c |