allenai / pdf-component-library

44 stars 4 forks source link

Update the sample paper used by the pdf-component demo #70

Closed smitar closed 2 years ago

smitar commented 2 years ago

The data returned by the s2airs DB is in a different format than the sample data used in the demo app. To quickly validate the format returned by s2airs, update the sample data used in the demo app. Before we backfill all pdfs to s2airs, we need to confirm that then data format is correct.

pdf-data sample annotations: https://github.com/allenai/pdf-component-library/blob/main/ui/demo/data/sampleAnnotations_short.json pdf-annotations passed to S2 frontend: https://development.semanticscholar.org/api/1/paper/5dd3e0e7f1da307d5a7c8cda460f3aa3845e1b3c/pdf-data ScholarPhi annotations format: https://scholarphi.semanticscholar.org/api/v0/papers/arxiv:2111.07945v1/entities-deduped?type=all