A Python module that generates customisable nonsense sentences.
Project description
nonsentence
A Python function / module that generates nonsense sentences under the scheme vowel-consonsant-vowel, with customisable sentence and word length.
Usage
Install from PyPi:
pip install nonsentence
import nonsentence
nonsentence.new_sentence(sentence_length, min_word_length, max_word_length)
Example
>>> nonsentence.new_sentence(10, 4, 12)
'xeratihut lux qihaci def zevepehot piroqihuc tegot wejijiquh tet gaza piqitadu.'
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
nonsentence-0.3.3.tar.gz
(2.3 kB
view details)
File details
Details for the file nonsentence-0.3.3.tar.gz.
File metadata
- Download URL: nonsentence-0.3.3.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55e9eb7ac2b000ca852252acd8905a3500aebc2c83fe01579f540fc13f16cfab
|
|
| MD5 |
ef041c6f1aeb3e6288b52bba7bc632b7
|
|
| BLAKE2b-256 |
efff0a8496975decfeb80759d9d03d3e9292e8fe2e696749303ee5b3dc408a9f
|