jlegewie/zotfile

lua pdf support

开放

#39 创建于 2012年5月21日

 (3 条评论) (0 个反应) (0 位负责人)Java (291 个派生)batch import
enhancementhelp wantedpdf extraction

仓库指标

星标
 (4,365 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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?

贡献者指南