Sha256: f875d967924123385fe0597b94bb17477ad431670c2c6b61d70cf01aad8e0702

Contents?: true

Size: 279 Bytes

Versions: 11

Compression:

Stored size: 279 Bytes

Contents

class TermExtraction
  attr_accessor :context, :api_key

  def initialize(options={})
    @context = options[:context]
    @api_key = options[:api_key]
  end

  def canonical_name
    self.class.canonical_name
  end
end

%w{yahoo zemanta}.each{|t| require "term_extraction/#{t}"}

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
alexrabarts-term_extraction-0.1.1 lib/term_extraction.rb
alexrabarts-term_extraction-0.1.2 lib/term_extraction.rb
alexrabarts-term_extraction-0.1.3 lib/term_extraction.rb
alexrabarts-term_extraction-0.1.4 lib/term_extraction.rb
term-extraction-1.0.1 lib/term_extraction.rb
term-extraction-1.0.0 lib/term_extraction.rb
term-extraction-0.1.4 lib/term_extraction.rb
term_extraction-0.1.7 lib/term_extraction.rb
term_extraction-0.1.6 lib/term_extraction.rb
term_extraction-0.1.5 lib/term_extraction.rb
term_extraction-0.1.4 lib/term_extraction.rb