Skip to content

yfaria/Wikipedia_Search_Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wikipedia_Search_Engine-EDA

Project of Data Structures and Algorithms (EDA)

Alunos:

  • Danillo Souza Fiorenza
  • Renan Ferreira Moura
  • Yuri Luis Faria Silva

A video explaining the work is this

To use, you must unzip this on the folder with all those files; it's important to maintain it there and it's name. Additionally, you should put this on the folder too.

You can compile the engine by yourself; it's the file engine.cpp :

g++ engine.cpp -std=c++11 -o engine

should compile it just fine.

To use it properly, you have to wait for the engine to load (it takes some minutes and some RAM). After loading, you enter queries you wish. When you do it, it displays the number of results that match with your search, the time that the program took to find them and the first 20 results. To see the other 20 results, input 'm'; to go back and see the previous results, enter 'v'; to make another query, input 'n'; to open an article in the list of the 20, enter its number.

The search of compound terms do not return the articles with these terms adjacents; just means that all words in the search are in the article.