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.17.16 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.15 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.14 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.13 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.12 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.11 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.10 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.9 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.7 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.6 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.5 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.4 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.3 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.2 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.1 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.0 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.16.3 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.16.2 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.16.1 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.16.0 lib/rbbt/knowledge_base/enrichment.rb