'keyword_extractor' provides feature for extracting keyword from document.
- ruby >= 2.0
- noun_extractor
- tf_idf_engine
Add this line to your application's Gemfile:
gem 'keyword_extractor', :github => 'yukihir0/keyword_extractor'
And then execute:
% bundle install
doc = 'this is a test document'
extractor = KeywordExtractor.new
keyword_list = extractor.analyze(doc)
p keyword_list
For more information, please see here.
Copyright © 2013 yukihir0