Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Chomsky phrase generator

Project description

#Auto-Chomsky phrase generator

Chomsky sentence generator.

Chomsky is an aid to writing linguistic papers in the style of the great master. It is based on selected phrases taken from actual books and articles written by Noam Chomsky. Upon request, it assembles the phrases in the elegant stylistic patterns that Chomsky is noted for.

To generate sentences of linguistic wisdom in a paragraph

For 1 sentence wrapped at 72 characters: >>> chomsky()

For n sentences wrapped at 72 characters: >>> chomsky(n)

For n sentence wrapped at x characters: >>> chomsky(n, x)

The phrase database was converted directly from someone else’s Lisp program: http://www-personal.umich.edu/~jlawler/foggy.lsp

Created by Raymond Hettinger, 2005 http://code.activestate.com/recipes/440546-chomsky-random-text-generator/

Modified by Greg Fitch, OpenStax, 2016 https://github.com/gregfitch

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for autochomsky, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size autochomsky-1.0.5.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page