jlegewie/zotfile

lua pdf support

Open

#39 opened on May 21, 2012

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Java (3,511 stars) (276 forks)batch import
enhancementhelp wantedpdf extraction

Description

can someone add support for kindle device kpdfviewer which stores highlights,text in a separate .lua file in the same location.

more info: http://www.mobileread.com/forums/showthread.php?t=157047

sample .lua file:return { ["globalzoom_mode"] = -4, ["highlight"] = { [1] = { [1] = { [2] = { ["y0"] = 209, ["x0"] = 73, ["y1"] = 217, ["x1"] = 510 }, [3] = { ["y0"] = 219, ["x0"] = 73, ["y1"] = 227, ["x1"] = 517 }, [1] = { ["y0"] = 199, ["x0"] = 451, ["y1"] = 207, ["x1"] = 516 }, [4] = { ["y0"] = 230, ["x0"] = 73, ["y1"] = 238, ["x1"] = 522 }, [5] = { ["y0"] = 241, ["x0"] = 73, ["y1"] = 249, ["x1"] = 482 }, ["text"] = "a Wikipedia article and classified into one of five abstract concept categories: Research Field, Technology, System, Term and Other. Using the content of the matched Wikipedia article, the system then constructs a conceptual graph structure representation for each key phrase and the questions are then generated based the structure. To evaluate the quality of the computer generated questions, we conducted a version of the Bystander Turing test, which involved 20 research students who had written literature " } },

the ["text"] field contains the annotation to be extracted. How to modify extract.js to accomplish this?

Contributor guide