Skip to content

annanyapr/VSCode-Extension-Stackoverflow-Search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSCode-Extension-Stackoverflow-Search

Model Training

Since the training was done using Google colab and models trained are saved on google drive, you will have to give drive access to notebooks.

Create a folder named Stackoverflow_VS_extension.

Notebooks:

  1. Dataset helper: Open the link, you will have to login into kaggle account and then click on copy and edit option to open the notebook and run all the cells.

After downloading the dataset place it in Stackoverflow_VS_extension folder in drive. Then execute the following notebooks.

  1. Data Pre Processing
  2. Tag Prediction Model
  3. Search

VS Code Extension

STEP1:

Download Preprocessed_data.csv, Tag_predictor_weights.hs, tokenizer.pickel, SO_word2vec_embeddings.bin, title_embeddings.csv from Stackoverflow_VS_extension folder in google drive created while training or directly use this link. Save all these files to /models directory.

STEP2:

  1. cd extension/stackoverflowextension/
  2. npm install

STEP 3:

Server setup:

  1. cd extension/stackoverflowextension/python_script/
  2. python3 -m venv .
  3. pip3 install -r requirements.txt
  4. python3 server.py
  5. Open link. This will setup the server, wait for 1-2 minutes for Data read to appear on webpage.

STEP 4:

Following steps require you to have VS code installed.

  1. cd extension/stackoverflowextension
  2. code .
  3. Press F5. This will open the development window for extension.
  4. Press Ctrl + Shift + P and type StackOverflow Engine to open the extension main page.
  5. Simply enter the query you want to esarch for and press search button.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •