This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Usage: ruby score_subreddit.rb <list of subreddits> | |
# | |
# Computes the Flesch-Kincaid grade level of the last 25 comments of the given subreddits. | |
# | |
# For example: | |
# > ruby score_subreddit.rb science worldnews funny | |
# science: 8.33 | |
# worldnews: 9.71 | |
# funny: 5.32 |