main.rb
337 Bytes
$LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), "lib"))
require 'rir'
w = RIR::WikipediaPage.new("http://en.wikipedia.org/wiki/The_Dillinger_Escape_Plan")
p w.entropy("guitar")
params = RIR::Indri::Parameters.new("path_vers_mon_index")
p params.rule
q = RIR::Indri::IndriQuery.new("pouet", "bla", params)
puts q