paulbricman / decontextualizer Goto Github PK
View Code? Open in Web Editor NEWA pipeline for making highlighted text stand-alone.
Home Page: https://paulbricman.com/thoughtware/decontextualizer
License: Mozilla Public License 2.0
A pipeline for making highlighted text stand-alone.
Home Page: https://paulbricman.com/thoughtware/decontextualizer
License: Mozilla Public License 2.0
Everything's in the title :)
https://paperswithcode.com/sota/coreference-resolution-on-ontonotes
Hello!
I attempted two different PDFs (which I can share in a DM or a email) โ one was an older-pre computer PDF that had been OCRed professionally and hilighted. Another was a modern PDF, of a book published last year, also highlighted. Zotero was able to extract from both using pdfjs. When i use https://huggingface.co/spaces/paulbricman/decontextualizer i get:
File "/home/user/.local/lib/python3.8/site-packages/streamlit/script_runner.py", line 354, in _run_script
exec(code, module.__dict__)
File "/home/user/app/main.py", line 17, in <module>
components.add_section()
File "/home/user/app/components.py", line 46, in add_section
excerpts = pdf_to_excerpts(filename)
File "/home/user/app/processing.py", line 48, in pdf_to_excerpts
excerpt = extract_annot(annot, words)
File "/home/user/app/processing.py", line 24, in extract_annot
quad_count = int(len(quad_points) / 4)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.