Calculate TF-IDF out of a text, resulting in a hash with term as key, frequency as value. Sorry for taking the convenient name for myself! See examples/demo_tf.rb for usage
Yu Shen
gem "tfidf", "~> 0.0.2"