Skip to content

bhaskar-mitra/Luandri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Luandri

A Clean LUA Interface to the Indri Search Engine for Torch.

Citation

If you use Luandri for you research, please cite the following paper.

https://arxiv.org/abs/1702.05042

Sample code

How to query an existing index using runQuery interface?

local luandri = paths.dofile('luandri.lua')

local query_environment = QueryEnvironment()
query_environment:addIndex("path_to_index_file")
local request = { query = "neural networks", resultsRequested = 5 }
local results = query_environment:runQuery(request).results

for k, v in pairs(results) do
    print(v.docid .. '\t' .. v.documentName .. '\t' .. v.snippet)
end

License

Luandri is licensed under the MIT license. Please check the Lemur project for licensing information on Indri. Finally, if you modify or extend Luandri in any way then please link back to this repository.

About

A Clean Lua Interface to the Indri Search Engine for Torch.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published