Information Retrieval Search Engine
Mohamad Dbouk
Posted on April 9, 2019
Hello, I would like to share with you a project I made earlier using C#, it is a information retrieval search engine that uses the MED test collection as a test documents / terms.
This is a link to the github repository
Phase 1: Stoplist
Adjectives, adverbs, and connectives are less
useful because they work mainly as complements. These irrelevant terms (stopwords) are placed under a file called Stoplist ("assets/StopList.txt"
).
- Removal of the words found in a stoplist
- Removal of punctuations and symbols
- Generate text documents without stopwords
.stp
Phase 2: Stemming
The remaining terms are stemmed using Porter's algorithm, it brings down distinct words to their common grammatical root - Remove suffix. Stemming will reduces further the number of unique terms.
- Removal of suffixes
- Generate text documents without suffixes
.sfx
- Using porter algorithm (https://github.com/nemec/porter2-stemmer)
Phase 3: Weighting, Generating of Inverted File
Generate 2 CSV files that display all terms found in all documents (after phase 1 & 2) using boolean inverted file and TFIDF inverted file.
Phase 4: Query processing and Reporting
User has the option to add a query or to run the MED queries collection into the system. System then will generate new document for the result with the COS values for each term in document, the recall and precesion for each document + new csv file will be generated contains the average precision per unique recall values.
Thank you all, and please do provide feedback 👀 🐱👤
Posted on April 9, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.