narayanr7 / scholarphi

An interactive PDF reader.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scholar Reader

The user interface, API, and data processing scripts for an augmented PDF reader application.

This repository hosts code for three subprojects: the user interface, API, and data processing scripts. To learn about each of these projects and how to run the code for each of them, see the README.md file in the relevant directory.

Key directories include:

  • api/: the web API that provides data about entities in papers and bounding boxes for those entities.
  • data-processing/: a set of data processing scripts that extract entities and their bounding boxes from papers.
  • ui/: the user interface for the augmented PDF reader.

The code in this directory roughly follows the following style guidelines:

  • Python: mypy for typing, black for formatting, pylint for linting, and pytest for testing.
    Configurations for each can be found in the VSCode .vscode/settings.json file for Python subprojects.

  • Node: Typescript, with Jest for tests, and Prettier for formatting. For linting Typescript, see the tslint.json specs in the Typescript subprojects.

Styling also roughly follows the guides for React and CSS for Allen AI engineering (see the wiki), where it makes sense to use these guides.

Contributors

License

This project is licensed under the Apache License 2.0. It is aggregate software that calls GhostScript, which is distributed under the Affero GNU Public License (AGPL). The GhostScript binaries and source code are available upon request. You can learn more about the GhostScript AGPL License here.

About

An interactive PDF reader.

License:Apache License 2.0


Languages

Language:Python 51.7%Language:TypeScript 33.5%Language:JavaScript 4.4%Language:CSS 4.1%Language:Less 2.4%Language:HTML 1.8%Language:TeX 0.9%Language:Jsonnet 0.6%Language:Dockerfile 0.3%Language:Shell 0.2%Language:Perl 0.1%