Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (18 sloc) 0.982 kB

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.
Jump to Line
Something went wrong with that request. Please try again.