Skip to content
Simple inverted index code
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
README.md

README.md

Simple inverted index code.

require 'inverted_index_rb'
index = InvertedIndexRb.new
index.index_file('doc1.txt')
index.index_file('doc2.txt')
puts index.query_and(['glad','us'])
puts index.query_or(['i','made'])
You can’t perform that action at this time.