Skip to content

bhavanat12/Boolean-retrieval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASSUMPTIONS:

1. The path is set for the files in my local machine. To run it on a different system, just the lines 44 and 46 needs to be edited.

2. Since my code is running on a MacOs, I have explicitly put a condition to not consider the hidden files - . , .. , .DS_Store.

3. 9 documents are taken into consideration (avoiding the 10th doc, which is creating the problem in sorting. The sorted output is like 1,10,2,3,....)

4. Each document contains minimum of 20 words.

5. Hyderabad is one of the words that's occuring in atleast 5 documents.


CODE:

1. Works for all kinds of boolean operators - AND, OR, AND NOT, OR NOT between terms.

2. Works for individual queries of the format - X* and *X.

About

C++ implementation of boolean retrieval

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages