Skip to content

Instantly share code, notes, and snippets.

View aparrish's full-sized avatar

Allison Parrish aparrish

View GitHub Profile
View correlation-and-clustering-with-pandas.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aparrish
aparrish / generating-rhyming-couplets.ipynb
Created April 21, 2023 23:46
how to generate rhyming couplets with pronouncing and markovify
View generating-rhyming-couplets.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View some-poetry-generators.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aparrish
aparrish / chatbot.ipynb
Last active October 29, 2021 22:46
Semantic similarity chatbot (take 2).
View chatbot.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View allison-recipe-generator.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aparrish
aparrish / trigrams-that-occur-only-twice.txt
Created February 19, 2021 22:41
trigrams that occur only twice in the cmu pronouncing dictionary word list, along with the words that contain them (where edit distance between words is greater than 3)
View trigrams-that-occur-only-twice.txt
'ex: l'expansion, l'express
'fa: o'fallon, o'farrell
'go: b'gosh, o'gorman
'la: o'lague, o'laughlin
'ri: b'rith, o'riley
-ac: non-academic, x-acto
-au: non-automotive, port-au-prince
-dr: alcohol-drenched, drip-dry
-ed: cutting-edge, well-educated
-em: non-emergency, pre-emptive
@aparrish
aparrish / moby-dick-minimalist-synonym.txt
Last active November 4, 2021 13:53
Moby Dick with every word replaced at random by another word that occurred in the same 1-word context window. More information: https://github.com/NaNoGenMo/2019/issues/97
View moby-dick-minimalist-synonym.txt
MOBY DICK;
OR THE WHALE
by Herman Melville
CHAPTER III. Loomings
View poetry-vae-reconstructions.txt
Somebody once told me the world is gonna roll me Rinaldo I heard thee in my eyelids,
I ain't the sharpest tool in the shed I've got a heart of my heart's eyes
She was looking kind of dumb with her finger and her thumb And it is more than a hand of his mouths
In the shape of an "L" on her forehead When in a circle that, an' a barren sky
Well, the years start coming and they don't stop coming Well, when a thousand shepherds come back to-day,
Fed to the rules and I hit the ground running (the way of the same to beholde
Didn't make sense not to live for fun Learn'd to make us as I cannot bear
Your brain gets smart but your head gets dumb My lips have kissed to make a sticking,
So much to do, so much to see And just thee, and if I am not
So what's wrong with taking the backstreets? For man's sake are going, and let us go
@aparrish
aparrish / spacy-extraction-medley.ipynb
Created August 1, 2019 20:10
Example code for extracting things with spacy and writing them out to text files and then reading them in again.
View spacy-extraction-medley.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aparrish
aparrish / enough-python.ipynb
Last active September 16, 2023 16:16
Just enough Python!
View enough-python.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.