allenai/scholarphi
关于
一款交互式 PDF 阅读器。
效率与自动化实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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.
Quick Start
In order to run the reader app locally (pointing to the production api) you only need to do
cd ui
npm install
npm start
See ui/README.md for more details on how to use the reader.
However, if you want to run the api locally as well you'll have to:
- Follow the instructions in api/README.md to run the api locally
- In another terminal, run the reader app in the /ui directory via
npm run dev
Style guidelines
The code in this directory roughly follows the following style guidelines:
Python:
mypyfor typing,blackfor formatting,pylintfor linting, andpytestfor testing.
Configurations for each can be found in the VSCode.vscode/settings.jsonfile for Python subprojects.Node: Typescript, with Jest for tests, and Prettier for formatting. For linting Typescript, see the
tslint.jsonspecs 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
- Andrew Head
- Kyle Lo
- Sam Skjonsberg
- Dan Weld
- Marti Hearst
- Zachary Kirby
- Vivek Aithal
- Jocelyn Sun
- Dongyeop Kang
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.
探索相关项目
加载中…