Sha256: 216bb230fbe6f7970218a3a7d26a44bb94fb870a82ba67e300483cc7ed4fc8eb
Contents?: true
Size: 463 Bytes
Versions: 3
Compression:
Stored size: 463 Bytes
Contents
#!/usr/bin/ruby require 'rubygems' $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib') require 'muddyit_fu' Muddyit.REST_ENDPOINT = 'http://staging.muddy.it' #muddyit = Muddyit.new('./config.yml') page = Muddyit.extract(ARGV[0], :disambiguate => true, :include_unclassified => true, :include_content => true) pp page.extracted_content.terms page.entities.each do |entity| puts "\t#{entity.term}, #{entity.uri}, #{entity.classification}" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
muddyit_fu-0.2.14 | test/thing.rb |
muddyit_fu-0.2.13 | test/thing.rb |
muddyit_fu-0.2.12 | test/thing.rb |