RubyGems.org

tfidf

0.0.2

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

installgem install tfidf
Authors

Yu Shen

2,668 total downloads 961 for this version
Owners

B3240c894a9a5bd08d3e61f266f591d9

Gemfile
gem 'tfidf', '~> 0.0.2'
Versions
  1. 0.0.2 March 17, 2012 (13.5 KB)
  2. 0.0.1 March 17, 2012 (13 KB)
  3. 0.0.0 March 17, 2012 (12.5 KB)
Runtime Dependencies
  1. fast-stemmer >= 0