Skip to content

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

License

Notifications You must be signed in to change notification settings

bhautikj/wordspew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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