Small C++ search engine with basic indexer and query capabilities
TO BUILD:
-
On Linux:
- Install gcc/build tools. For example, on Ubuntu this can be done by running "sudo apt-get install build-essential"
- Unzip hw2_src.zip package.
- Navigate to unzipped folder in the terminal and run "make all" command.
-
On Windows:
- Install GCC compiler for windows from http://mingw.org/
- Unzip hw2_src.zip package.
- Navigate to unzipped folder in the DOS command window and run "mingw32-make.exe all" command.
TO RUN: The program can be run in different modes:
- ./search-engine // interactive mode (allows user to execute from a set of predefined queries or custom query)
- ./search-engine -index // will print the positional index to the screen
- ./search-engine -squad-train-data [train file] -squad-dev-data [dev file] // will use Squad data files (see https://rajpurkar.github.io/SQuAD-explorer/) for building the index