Git Product home page Git Product logo

boolean_retreival's Introduction

Boolean Information Retrieval System

To install dependencies :

$ pip install -r requirements.txt

To perform boolean querying :

$ python main.py

To terminate the program send EOF

Testcases :

$ python .\main.py
Enter query: (julius and cal*) or cassius  
FOUND  8  DOCUMENTS SATISFYING USER QUERY
Henry VI, Part 1
Henry VI, Part 2
Julius Caesar
Richard III
Richard II
Antony and Cleopatra
Cymbeline
Hamlet
-------------------------------------------------------------------------------
Enter query: (ce*ar and (brutus and cal*)) or cassius
FOUND  6  DOCUMENTS SATISFYING USER QUERY
Henry VI, Part 2
Julius Caesar
Lucrece
Antony and Cleopatra
Titus Andronicus
Coriolanus
-------------------------------------------------------------------------------
Enter query: CaLiFoRnIa Or (OlYmPuS aNd SlIpPeRy)
Did you mean Calphurnia ?
FOUND  3  DOCUMENTS SATISFYING USER QUERY
Julius Caesar
Troilus and Cressida
Coriolanus
-------------------------------------------------------------------------------
Enter query: Kinhs AND Ham* 
Did you mean Kinds ?
FOUND  16  DOCUMENTS SATISFYING USER QUERY
Henry VI, Part 2
Henry VI, Part 3
Henry V
King John
Lucrece
Pericles, Prince of Tyre
Richard II
Romeo and Juliet
Sonnets
Antony and Cleopatra
The Two Gentlemen of Verona
The Winter's Tale
Titus Andronicus
Troilus and Cressida
Hamlet
Henry IV, Part 2
-------------------------------------------------------------------------------
Enter query: housi and (villaze or angello) 
Did you mean House ?
Did you mean Village ?
Did you mean Angelo ?
FOUND  12  DOCUMENTS SATISFYING USER QUERY
Henry VIII
Henry V
Julius Caesar
King Lear
Measure for Measure
Othello
Richard III
Richard II
The Comedy of Errors
The Two Noble Kinsmen
As You Like It
Henry IV, Part I
-------------------------------------------------------------------------------
Enter query: Pil*ge And (waesT Or Miscarry )  
Did you mean Waist ?
FOUND  9  DOCUMENTS SATISFYING USER QUERY
Henry VI, Part 1
Henry VI, Part 2
Henry V
King Lear
Lucrece
Measure for Measure
Othello
Romeo and Juliet
The Merchant of Venice
-------------------------------------------------------------------------------
Enter query: KeyboardInterrupt
PS F:\Y_II_SEM_II\Info Retrieval\Project\Boolean_Retreival> 

Documentation:

  • Made using pdocs3
  • Located in ./html

boolean_retreival's People

Contributors

sixpaths837 avatar pthpth avatar pritzzmaga avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

sixpaths837

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.