Skip to content

Instantly share code, notes, and snippets.

@chrisvfritz
Last active April 28, 2026 04:17
Show Gist options
  • Select an option

  • Save chrisvfritz/6432816 to your computer and use it in GitHub Desktop.

Select an option

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 …
@ThomasSWorrell

Copy link
Copy Markdown

@geometry dash bloodbath Thank you so much! Additional tests with real data are needed to ensure accuracy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment