Sha256: 609deecd5779d186e5c7a5d9ccbae3c4cb8c852488acb7b956dfe31100bc7483

Contents?: true

Size: 1.85 KB

Versions: 3

Compression:

Stored size: 1.85 KB

Contents

# coding: utf-8

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'bow_tfidf/version'

Gem::Specification.new do |spec|
  spec.name          = 'bow_tfidf'
  spec.version       = BowTfidf::VERSION
  spec.authors       = ['isidzukuri']
  spec.email         = ['axesigon@gmail.com']

  spec.summary       = 'Tf–idf is one of the most popular term-weighting schemes.'
  spec.description   = 'In information retrieval, tf–idf or TFIDF, short for term frequency–inverse document frequency, is a numerical statistic that is intended to reflect how important a word is to a document in a collection or corpus. It is often used as a weighting factor in searches of information retrieval, text mining, and user modeling. The tf–idf value increases proportionally to the number of times a word appears in the document and is offset by the number of documents in the corpus that contain the word, which helps to adjust for the fact that some words appear more frequently in general.'
  spec.homepage      = 'https://github.com/isidzukuri/bow_tfidf'

  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  # to allow pushing to a single host or delete this section to allow pushing to any host.
  if spec.respond_to?(:metadata)
    spec.metadata['allowed_push_host'] = "https://rubygems.org"
  else
    raise 'RubyGems 2.0 or newer is required to protect against ' \
      'public gem pushes.'
  end

  spec.files = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_development_dependency 'bundler', '~> 1.13'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bow_tfidf-0.1.2 bow_tfidf.gemspec
bow_tfidf-0.1.1 bow_tfidf.gemspec
bow_tfidf-0.1.0 bow_tfidf.gemspec