Skip to content

jfan1998/AutoLibrary

Repository files navigation

AutoLibrary - A Personal Digital Library to Find Related Works via Text Analyzer

Docker

  • The docker repository is jfan1998/dsc180a-docker.
  • Note: The docker uses dsmlp base container. Please login to a dsmlp jumpbox before entering the command below.
launch-scipy-ml.sh -i jfan1998/dsc180a-docker:latest

Use port-forwarding on dsmlp to open the website:

Website

  • Our published website enables users to upload papers via URLs/Local Machine
  • If you are curious about our code for published website, you can switch the branch to website.

Local Run

  • Please refer to requirements.txt to check if all the packages and libraries needed are installed.

Default Run: open AutoLibrary website

python run.py
  • The home page of website: http://127.0.0.1:8000/autolibrary/

Target 1: Convert the input .pdf file into .txt

python run.py data

Target 2: Run AutoPhrase on the input file

python run.py autophrase

Target 3: Apply weight to the quality scores of phrases according the corresponding quality score in its domain

python run.py weight

Target 4: Webscrape the search results on Semantic Scholar with keywords and domains

python run.py webscrape

Target 5: Convert jupyter notebooks to html

Note: Files with human annotations are in the references directory.

python run.py report

Target 6: Test all previous targets on test data

Note: For the test run, raw test data and domain for search is in test/testdata directory.

python run.py test

Target 7: Activating the website

python run.py website

Note for local run:

Since AutoLibary does not have access right to your local documents, if you would like to try other papers, please put the papers in ~/AutoLibrary/website/autolibrary/documents and refresh the local website.

Responsbilities:

  • Yichun Ren: Dataset, Weight, Website Development
  • Jiayi Fan: Data, Result Analysis, Website Development
  • Bingqi Zhou: Dataset, Webscrap, Experiments

About

Winter 2021 Capstone Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •