Skip to content

bhautikj/wordspew

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

wordspew: a small library to generate random English snippets of phrases. The results are often complete nonsene, but that's the point.

Examples:

generatePhrases.py:    simple way of retreiving spew from the python console
generatePhrasesWeb.py: simple web server for dishing up wordspew

Word dictionaries for adjectives, adverbs, nouns and verbs were obtained from Ashley Bovan's word lists.

Usage:

>>> import wordspew
>>> wordspew.getPhrase()
'symbolically sloping anarchic rockery'
>>> wordspew.getPhrase()
'absorbingly scrags run-of-the-mill ubiquitarians'
>>> wordspew.getPhrase()
'three-phase underbidders'
>>> wordspew.getPhrase()
'finest blepharitis'
>>> wordspew.getPhrase()
'the institutionalization was meaningful'

About

wordspew: a small library to generate random English snippets of phrases. The results are often complete nonsene, but that's the point.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages