Skip to content

A perfectly cromulent generator of random words.

Notifications You must be signed in to change notification settings

usonian/cromulac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Long ago I wrote a PHP script which generated pseudorandom words based on the ubiquitous /usr/share/dict file.  The only markov scripts I'm finding online deal with sentences, not words - or if they deal with words, they rely only on consonant/syllable patterns for password generation.

So, time to reimplement in Python. I'm sure it could be done much more elegantly, but I am not a hardcore python dev, and this works for my purposes.
Cleanup may or may not follow.

To use, pipe a text file containing your list of words (one per line) into the script;

  > cat mysourcefile.txt | ./cromulac.py

-Andy
http://andychase.net

About

A perfectly cromulent generator of random words.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published