Lorem Ipsum generator which uses dialog from Star Trek to generate English text.
Project description
Generates text - like lorem ipsum - but uses real English. Taken from random samplings of dialog spoken by Commander William Riker in Star Trek: The Next Generation.
See it in action here: http://ben174.github.io/rikeripsum/
This project was inspired by the many other “lorem ipsum” type generators out there that aim to use real English rather than jibberish.
@jessicaspacekat (https://twitter.com/jessicaspacekat) came up with the brilliant idea of using Riker’s dialog for generating text. She created a fancy javascript generator, but I wanted something I could use in my projects - for provisioning sample data to test with. I also wanted to use all of Riker’s dialog, rather than a limited subset.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file RikerIpsum-1.1.tar.gz
.
File metadata
- Download URL: RikerIpsum-1.1.tar.gz
- Upload date:
- Size: 224.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f045d5ded0884d06466b26f667c5e6d78d2c543a95814e7387b4c58c507a4e5b |
|
MD5 | 35d98b5165cc10c3eba9df6153dfad89 |
|
BLAKE2b-256 | 7755e7aec6d2852e625dd2aa365f8198c7a376faaadedadec6ac22d627edec77 |