Loading paper text
Loading papers as structured data
from ice.paper import Paper
from ice.recipe import recipe
async def answer_for_paper(paper: Paper):
return paper.paragraphs[0]
recipe.main(answer_for_paper)python paper_hello.py --paper path_to_downloaded_paper/keenan-2018.pdfParagraph(sentences=['We hypothesized that mass distribution of a broad-spectrum antibiotic agent to preschool children would reduce mortality in areas of sub-Saharan Africa that are currently far from meeting the Sustainable Development Goals of the United Nations.'], sections=[Section(title='Abstract', number=None)], section_type='abstract')Last updated