Skip to content

Effortlessly transition between the global and detailed information within a document. Navigate to the definition of a concept when needed, all while maintaining awareness of the overall structure of the paper or book.

License

Notifications You must be signed in to change notification settings

allen7u/PDF.svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Some major benefits:

Gain an overview of the keywords and their distribution throughout the document, in the order of their occurrence during the discourse.

Take a closer look at sentences containing the keyword of interest by hovering over the hit marks.

Temporarily pin the sentence preview window with a click.

Switch to the main text around the sentence of interest with another click.

titile-mini-frame-0 25area

A simple walk-through:

Serve your folder of PDFs with Flask like this:

python app.py /your/path/of/pdfs

Go to http://127.0.0.1:5000 to find a list of your PDF files.

Click on one of the files, and a new page will open to compute and then draw bars with hit marks.

694606f8a23de34ef4860e558b809f2

Click a bar with a keyword of your interest and a new bar will be drawn.

44f2c9f82a5a239e5610d66c90c4b80

At this point, you can either hover over hit marks on the newly drawn bar to preview the full sentences containing that keyword.

Or you can specify a range and zoom into it by specifying the start and end locations on the bar that you clicked before, each with a single click.

After finding one or more sentences of your interest during previewing by hovering, left-click, and the preview window will be fixed.

Then, a click on the sentence will bring you to the page where that sentence is from with highlighting at the start and end of the sentence.

f4c750314fb501f69000c9b819174cc

That's about it. Remember that you can cancel the PDF reader view or the fixed preview window of sentences with the ESC key.

To remove newly generated bars of keywords, click the orange text to the left of it.

Known limitations:

Computing keywords with the so-called mutual enrichment technique will take up to one or two hours for a very long PDF book the first time.

The result will be cached, so when you read that book another time, it won't go through the keyword computing step again.

For unknown reasons, the progress counting will progressively become faster.

To-Do:

As you can see, my current skills and knowledge in software engineering, industry, and best practices are limited. If you have plans for business collaboration, intend to establish and maintain a series of open-source academic tools, or have some general suggestions, feel free to start a discussion or send me a direct message (D.M.).

298366842-ea4af9fe-bbf3-4ae9-b7e5-ff8e0df4b7cc (1)

About

Effortlessly transition between the global and detailed information within a document. Navigate to the definition of a concept when needed, all while maintaining awareness of the overall structure of the paper or book.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published