Giter VIP home page Giter VIP logo

pdfanno's People

Contributors

hshindo avatar kmamiya avatar navinisoft avatar takahirohorie avatar yoheimune avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pdfanno's Issues

Not able to annotate a PDF

Hi,

I have built and installed the app locally. I am trying to annotate a pdf with pdfAnno running at my localhost. When I select or double click on a span, I don't see any option getting populated to annotate it.

image

Please advise.

Thanks,
Abhinav

If you can't deploy app.

I've changed gulpfile.js and updated gulp-cli to version 4.0.2 so everything works properly.
https://github.com/Forfxout/pdfanno

Installation:
$ npm install -g gulp-cli # with node >= 10.
$ npm install
$ npm audit fix # if required, but please note that you don't need to force
$ npm run front:dev

getting error internal/modules/cjs/loader.js:584 throw err;

am getting below error while running application ,could you please help me to resolve the issue

E:\R&D\POC\pdfanno>npm start

[email protected] start E:\R&D\POC\pdfanno
node index.js

internal/modules/cjs/loader.js:584
throw err;
^

Error: Cannot find module 'E:\R&D\POC\pdfanno\index.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\shravan\AppData\Roaming\npm-cache_logs\2019-04-11T02_07_53_442Z-debug.log

install fail

npm install
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN optional Skipping failed optional dependency /vuepress/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN optional Skipping failed optional dependency /watchpack/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN optional Skipping failed optional dependency /webpack-dev-server/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN [email protected] requires a peer of webpack@1 || ^2.1.0-beta but none was installed.

npm run server
npm ERR! Linux 4.15.0-24-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "server"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2

npm ERR! missing script: server
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /home/caseybasichis/Prog/text/pdfanno/npm-debug.log

Presentation mode arrows don't work

Hi, I am running in an issue where left/right arrows don't work. Did you disable it on purpose or where can be a problem? I thought it is in pdf.js library on default.

Thanks

Demo is not working

After starting demo. I get following error:
Error
Failed to analyze the PDF.
Reason: [object ProgressEvent]

Colored spans

It is more a suggestion than an issue : would it be possible to add colored spans ? They are currently all yellow -tell me if I'm wrong-. It would be really easier for the annotator to distinct spans.

Thanks again for your great work.

Package pdfextract-0.3.0.jar with version 5.1 to get PDF character coordinates

Hello @hshindo! It looks like @navinisoft created a version 5.1 of this repo that works by using the output of java -classpath pdfextract.jar PDFExtractor example.pdf along with example.pdf to render the PDF and do the highlighting. I was wondering if either of you have that JAR available somewhere, and if you could share it somewhere or add it to this repo. I cannot find the repo in which this JAR is supposed to be anymore: https://web.archive.org/web/20180627073429/https://github.com/paperai/pdfextract/

It would also really help if the README.md explained that each PDF is expected to be uploaded with a corresponding pdf.txt.gz file and that otherwise highlighting won't work. I had to play around with the code for a while and go through a few versions to figure that out.

Thank you for your help! I like the work you guys did on pdfanno and I'm hoping to use it. Cheers!

textrange of spans are incorrect

It seems that the textrange returned in the annotation file is incorrect, when you compare it to the textrange of the pdftxt file.

For example, if I have the a span "Syntatic parsing", in the annotation file its textrange is [1313,1328], but in the pdftxt file it is [1533-1549] (which seems correct).

Thanks for your work !

Deploy locally

Hey!

I am interested in your project and tool PDFAnno.
I tried to install PDFAnno locally as mentioned in README.md.
All steps are OK except last:
npm run server

Looked in package.json there is not server script.

Can you help me to install locally PDFAnno!

pdfextract-0.2.4.jar is missing

package.json specifies that pdfextract-0.2.4.jar should be downloaded from https://github.com/paperai/pdfextract/releases/download/untagged-6b0e4f23df695e8b7587/pdfextract-0.2.4.jar however that link 404s. If you don't already have pdfextract-0.2.4.jar then github's 404 error html page gets saved as the pdfextract-0.2.4.jar and processing fails.

Highlighting and Data text retreival not working

I just tested out your demo on my own pdf. The highlight seems to have some static lines it can follow which was inbetween my line seperation. In addition the text that is highlight is not the text that shows up in the annontation download. Essentially making this product not function in a useable way. I can send along my pdf and annontation file to demostrate.

pdf-sample.pdf.0-3-0.txt.gz what is this for?

Hi,

I am trying to set up your project on local environment but I've got some problem when I want to load my own .pdf file. It seems every pdf file must have .txt.gz version. What is this for? Can I disable it somehow?

Failed to analyze the PDF.
Reason: Error: HTTP 404 - pdftxtファイルのロードに失敗しました。

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.