Skip to content

Instantly share code, notes, and snippets.

View jimfingal's full-sized avatar

Jim Fingal jimfingal

View GitHub Profile
@jimfingal
jimfingal / ladder.md
Created April 3, 2017 23:39 — forked from jamtur01/ladder.md
Kickstarter Engineering Ladder

Keybase proof

I hereby claim:

  • I am jimfingal on github.
  • I am jimfingal (https://keybase.io/jimfingal) on keybase.
  • I have a public key ASAWKvqX_TJ5LA5qI8IlZ2T9LYzZIOOAQtAzvxzLqzLbUAo

To claim this, I am signing this object:

@jimfingal
jimfingal / Aphorisms.md
Last active August 29, 2015 14:13
A python port of Darius Kazemi's "Aphorism detection for fun but definitely not profit" -- http://tinysubversions.com/notes/aphorism-detection

Aphorism Detection in Python

After reading Darius Kazemi's post, "Aphorism detection for fun but definitely not profit", I wanted in -- I've done a number of text-focused bots, but none that did anything more advanced than tokenizing things and making use of ngrams with Markov chains. I have some experience with NLP in Python so thought it would be fun to port it.

The essence of Darius's algorithm is:

  • Read in Corpus
  • Tokenize corpus into sentences
  • Filter out sentences that match a few basic patterns