Genius PDF

Closed Posted 3 years ago Paid on delivery
Closed Paid on delivery

Genius PDF Technical Proposal

Note there are 2 parts:

-The PDF Viewer

-The PDF Sidebar (which contains "Annotations")

The project can be described in three parts.

(1) Extract the text from the PDF.

(2) Perform some processing on the text extracted from the PDF and store in a local database.

(3) Allow clicking on any "Term" to populate the sidebar with "Annotations" related to that term.

Here is a breakdown:

(1) You'll need to find a library that can parse the PDF and extract all the lines in Javascript. [login to view URL] could be used for this purpose.

(2) Processing will be in the form of a JSON config file. Here's an example file:

{

"LineMatcher": [

"\"",

"means",

],

"TermExtractor": "[^\"]+",

}

We iterate over each line of the PDF and apply ALL of the LineMatcher RegExs. If ALL match then we further process the line. Otherwise, we skip to the next line. If there is a match then we apply TermExtractor as a RegEx to the line.

For example, if the PDF text is the following:

The term "hello world" means a greeting to programmers

While parsing this line, the linematcher will detect "hello world" and then run TermExtractor as a RegEx which will run the regular expressions for this line. In effect, we create a mapping of "hello world" (Term) -> "The term "hello world" means a greeting to programmers" (Annotation).

This information will be populated in a localForage database where each row contains a term and line.

Database Columns: term<String> / annotation<String>

Sample Database Values: Hello World / The term "hello world" means a greeting to programmers

(3) The front-end of the website will use [login to view URL] or some other PDF Viewer in Javascript. Clicking any Term within the PDF will do a best-effort match against the database populated in (2). It will display each relevant Annotation in the sidebar, with a UI that is similar to the demo in the Appendix.

Appendix

Demo of similar functionality: [login to view URL]

JavaScript HTML CSS

Project ID: #27813246

About the project

2 proposals Remote project Active 3 years ago

2 freelancers are bidding on average $85 for this job

jaijana070

Dear client, This is Nivethan Jayachandran. I have read all of your requirements related to this project. I can provide this project at the right time when you need. Please give me this job. I work hard and honestly.

$30 USD in 3 days
(0 Reviews)
0.0
jayprakashpathak

I am a professional fullstack web developer and i have read your requirement. Actually i have already made a project with similar requirement so i can develop is very fast with a very attrative user interface.

$140 USD in 7 days
(0 Reviews)
0.0