Sha256: 4d610ab3a665798f66bc3818bb2b70bc4b5c61bf005e936fc361dbc6ebfc5c01

Contents?: true

Size: 321 Bytes

Versions: 688

Compression:

Stored size: 321 Bytes

Contents

require 'rbbt/knowledge_base/registry'
require 'rbbt/statistics/hypergeometric'
class KnowledgeBase
  def enrichment(name, entities, options = {})
    database = get_database(name, options)
    entities = identify_source name, entities
    database.enrichment entities, database.fields.first, :persist => false
  end
end

Version data entries

688 entries across 688 versions & 1 rubygems

Version Path
rbbt-util-5.33.18 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.17 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.16 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.15 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.14 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.13 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.12 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.11 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.9 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.8 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.7 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.6 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.5 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.4 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.3 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.2 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.1 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.33.0 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.30 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.28 lib/rbbt/knowledge_base/enrichment.rb