Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 483 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 483 Bytes

IDIOMASH

Create idioms by mashing up old ones! Nothing new under the weather.

Input

A text file with each candidate on a separate line

Output

mashups_for_seq_with_lines returns a set

Usage

lines = lines_from_path('some/save/path/here.txt') mashups = mashups_for_seq_with_lines('and', lines)

Run prompt_loop(9) to start a user input loop in which you select a candidate sequence and see up to 9 (or any #) randomly chosen mashups pivoting on that sequence.