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.32.27 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.26 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.25 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.24 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.23 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.22 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.21 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.20 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.18 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.17 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.16 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.15 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.13 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.12 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.11 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.10 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.9 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.7 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.6 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.32.5 lib/rbbt/knowledge_base/enrichment.rb