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.15.3 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.15.2 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.15.1 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.14.39 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.14.38 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.14.37 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.14.36 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.14.35 lib/rbbt/knowledge_base/enrichment.rb