Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ This project was inspired by the many other "lorem ipsum" type generators out th

I found a site, http://antoa.com/tng/, which contains the scripts of every episode of Star Trek: The Next Generation. I scraped the site then parsed out all Riker's lines. After a little bit of cleaning up, I created a large object full of every line he's ever spoken in TNG. I saved that to a pickle for quick loading, and wrote **rikeripsum.py** to generate random sentences.

###TODO
### TODO

- Ability to generate random words.
- Ability to select which character you'd like to pull lines from (this is started).
- Perhaps a way to construct truly random sentences using a sampling of words from the dialog.

###Try it out
#####Live sample available here: http://ben174.github.io/rikeripsum/
### Try it out

##### Live sample available here: http://ben174.github.io/rikeripsum/

##Usage
## Usage

from rikeripsum import rikeripsum
rikeripsum.generate_paragraph()