Skip to content

Instantly share code, notes, and snippets.

View aparrish's full-sized avatar

Allison Parrish aparrish

View GitHub Profile
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.
Loading
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 October 11, 2024 15:27
Just enough Python!
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aparrish
aparrish / rwet-ima-20190219-20190221.ipynb
Created February 21, 2019 18:49
rwet ima section notes from feb 19th and feb 21st
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aparrish
aparrish / some-poetry-generators.ipynb
Created February 7, 2019 22:15
allison's assignment
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aparrish
aparrish / environment.yml
Last active April 2, 2022 19:20
Flat, randomness, curves, asemic writing
name: rwet
channels:
- conda-forge
dependencies:
- python
- numpy
@aparrish
aparrish / frost-rewritten-plus-ocean.txt
Last active December 26, 2018 23:23
rewriting "The Road Not Taken" using a recurrent neural network conditioned on averaged word vectors of ~50k lines of poetry. (original left, rewrite on right)
01 Two roads diverged in a yellow wood, The sides sea through the sea a pard
strong the surparded stare,
02 And sorry I could not travel both And many thing all who was not the sad
will say
03 And be one traveler, long I stood I see when I was and long weel,
04 And looked down one as far as I could As I see as the sea and seemed as the
maid
05 To where it bent in the undergrowth; Where the cloud in the sward to the
sweet;
06
@aparrish
aparrish / flower_blank.txt
Created August 10, 2018 23:25
Flower blank / alphabetized bigrams beginning with "flowers" from every Project Gutenberg book labelled as "poetry"
flowers a
flowers ablaze
flowers about
flowers above
flowers absorb
flowers accompanying
flowers adorn
flowers advance
flowers afford
flowers affray
@aparrish
aparrish / from-plain-text.ipynb
Created July 18, 2018 22:27
Semantic similarity chatbots from plain-text files. Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.