A Ruby library that provides access to term extraction APIs such as Yahoo! Term Extraction API and Zemanta.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
Gemfile
LICENSE
README.rdoc
Rakefile
VERSION
term-extraction.gemspec

README.rdoc

term_extraction

Build
Status

DESCRIPTION:

Provides access to term extraction APIs such as Yahoo! YQL and Zemanta.

SYNOPSIS:

# Query Yahoo! for terms
yahoo = TermExtraction::Yahoo.new(:context => 'Italian sculptors and painters of the renaissance favored the Virgin Mary for inspiration')
yahoo.terms # => ["Italian sculptors", "the Virgin Mary"]

# Query Zemanta for terms
zemanta = TermExtraction::Zemanta.new(:api_key => 'myApiKey', :context => 'apple imac')
zemanta.terms # => ["Apple", "IMac", "Rumor", "Hardware", "Nvidia", "Macintosh", "Desktops", "AllInOne"]

INSTALL:

gem install term-extraction # require 'term_extraction'

Or in your `Gemfile`:

gem 'term-extraction', require => 'term_extraction'

COPYRIGHT

Copyright © 2011 Stateless Systems (statelesssystems.com). See LICENSE for details.