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.78 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.77 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.76 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.75 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.74 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.73 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.72 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.71 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.70 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.69 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.68 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.67 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.66 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.65 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.64 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.63 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.62 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.61 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.60 lib/rbbt/knowledge_base/enrichment.rb
rbbt-util-5.17.59 lib/rbbt/knowledge_base/enrichment.rb