Skip to content

willf/inverted_index_simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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'])

About

Simple inverted index code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages