Skip to content

Instantly share code, notes, and snippets.

@chrisvfritz
Last active December 22, 2015 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisvfritz/6432816 to your computer and use it in GitHub Desktop.
Save chrisvfritz/6432816 to your computer and use it in GitHub Desktop.
This is an example implementation of a really simple algorithm in Ruby to identify trending words and phrases in a collection of posts. This was written in a single sitting, late at night, without research, so it's definitely not the most efficient way to tackle this problem. I haven't even tested it with real data to make sure that it works as …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment