0.01
No commit activity in last 3 years
No release in over 3 years
A ruby wrapper library for all current top tags/keywords/terms extraction services , this version supports Alchemy, Yahoo Content Analysis, Delicious V1 API and OpenCalais
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

AutoTagging¶ ↑

A Ruby wrapper library for multiple auto tagging services such as Alchemy, Delicious, Yahoo Content Analysis and Open Calais. Learn more about these services at:

www.alchemyapi.com/

www.opencalais.com/

developer.yahoo.com/contentanalysis/

delicious.com/developers

Just by specifying a paragraph or an url , meaningful tags/keywords will return in form of an array

Examples :¶ ↑

AutoTagging.get_tags(url: "www.rubygems.org")
results : ["gem hosting service", "available gems", "Ruby community", "contributor", "API", "RubyGems.org", "site", "changes", "information"]

AutoTagging.get_tags("Tens of thousands of Rails applications are already live. People are using Rails in the tiniest part-time operations to the biggest companies.")
results : ["Rails applications", "biggest companies", "Tens", "thousands", "People", "Software" "Web application frameworks", "Computing", "Web 2.0", "Ruby on Rails", "Labor"]

Installation¶ ↑

gem install 'auto_tagging'

or add to Gemfile:

gem 'auto_tagging'

Usage¶ ↑

Configure: Specify one or many services you want to use, for example:

AutoTagging.services = [{:alchemy => "alchemy_api_key"}]

or

AutoTagging.services = [{:open_calais => "open_calais_api_key}]

or

AutoTagging.services = [:yahoo]

or

AutoTagging.services = [{:delicious => {"delicious_username" => "delicious_password"}}]

or

AutoTagging.services = [{:open_calais => "open_calais_api_key}, {:alchemy => "alchemy_api_key"}, "yahoo"]

Note: The result will be the combination of the results return from these services calls but it will slow down the run time

For PARAGRAPH , (Delicious service doesn’t support this)

AutoTagging.get_tags("Put content here")

For URL , (OpenCalais service doesn’t support this)

AutoTagging.get_tags(url: "rubygems.org")

Contributing¶ ↑

  1. Fork it

  2. Create your feature branch (‘git checkout -b my-new-feature`)

  3. Commit your changes (‘git commit -am ’Added some feature’‘)

  4. Push to the branch (‘git push origin my-new-feature`)

  5. Create new Pull Request

Copyright © 2013 East Agile.