Skip to content

hvu-dev/document-search-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML-based file search engine using TF-IDF

A simple and fast way search engine using Term Frequency - Inverse Document Frequency for XML-based files.

Run instruction

  1. Install make.
  2. Run make to compile the source code
  3. Put your files in ./data and run make run or run ./SearchEngine <data_dir>

The engine will index your files and waiting for commands. Currently, there are 2 commands: find and exit.

  • find is dedicated for searching term (or even a sentence), the engine will output the "matching score" along with the path of the file.
# Example
find glDisableVertexAttribArray
  • exit (or Ctrl + C) will exit the program.

Reference:

About

Terminal-based Term frequency–inverse document frequency index in C++

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors