Skip to content

anshumanchak/msearch

Repository files navigation

msearch

Utility : Search a particular Google Drive folder for notes, lectures, assignments and books related to a course.

img1

Overview

auth.py : After verification of drive credentials, a directory tree of the corresponding folder is built by performing a BFS traversal and is stored as driveTree.obj
disp.py : Once a user query is passed, the request is sent to the /result endpoint, where the list of links are displayed. These links are basically the desired drive files.
Fetching the list of links? As of now, a cosine similarity score decides whether to enter a particular sub-folder, i.e. go down the branch of the directory tree to fetch the required files. The threshold for cosine similarity between the query and sub-folder names is set to 0.3

About

Traverse Gdrive tree to fetch most suitable results as per user query

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published