I'm just trying to use the pdf-reader gem, but I have some trouble
understading how the gem wokds
If someone can help me with this, i'll be really grateful
The Problem:
I have to extract some data from a paper in a pdf format. I just need
some data from the page 1, like the title of the paper, the authors
list, the universities of these autors, their mails, the abstract and
keywords
I have to extract some data from a paper in a pdf format. I just need
some data from the page 1, like the title of the paper, the authors
list, the universities of these autors, their mails, the abstract and
keywords
It's not necessary to use this gem, but I need a string for each field
with this info, how can I do that?
Open a text editor, paste it, and construct the data you need.
Doing the research for how to do what you want, and then writing and
debugging a script that does it, takes longer than just doing it by
hand.
···
On Tue, May 17, 2011 at 11:04 PM, Felipe Espinoza <fespinozacast@gmail.com> wrote:
--
Phillip Gawlowski
Though the folk I have met,
(Ah, how soon!) they forget
When I've moved on to some other place,
There may be one or two,
When I've played and passed through,
Who'll remember my song or my face.
Inkscape has a command line conversion option.
I've only used it with a Linux instance.
It converts one page at a time though.
More than thee output format options from memory.
Not exactly pure Ruby approach, though scripting such a task is
certainly a Ruby domain.
Your example is still loading here.
So this reply may be completely out of context.
MarkT
I have to extract some data from a paper in a pdf format. I just need
some data from the page 1, like the title of the paper, the authors
list, the universities of these autors, their mails, the abstract and
keywords
Inkscape has a command line conversion option.
I've only used it with a Linux instance.
It converts one page at a time though.
More than thee output format options from memory.
Not exactly pure Ruby approach, though scripting such a task is
certainly a Ruby domain.
Your example is still loading here.
So this reply may be completely out of context.
MarkT
I have to extract some data from a paper in a pdf format. I just need
some data from the page 1, like the title of the paper, the authors
list, the universities of these autors, their mails, the abstract and
keywords
In <b3e54e146d346d393b16b935800076bb@ruby-forum.com>
"Pdf Parsing Challenge" on Wed, 18 May 2011 06:04:19 +0900,
The Problem:
I have to extract some data from a paper in a pdf format. I just need
some data from the page 1, like the title of the paper, the authors
list, the universities of these autors, their mails, the abstract and
keywords
Do you need that for an own application or do you want to build up a literature database on your own?
For the latter, you could try [Mendeley][1]. That's a tool (web-based & desktop-based) to manage your research literature. It can parse PDF, and much more.
Once parsed, you can parse the generated bibtex-file …
Unless the papers are all (near) identical in layout, this will be
difficult, since PDFs lack semantic information.
Can you instead query a DB for the DOI of the paper (getting the DOI
via the filename, or via the title of the paper, assuming the title is
easy to grab), and use said DOI DB to get the information in a way
that's much easier to process?
···
On Tue, May 17, 2011 at 11:38 PM, Felipe Espinoza <fespinozacast@gmail.com> wrote:
I need to do this automatically, I'll be doing it for a lot of papers
and then take that data to a database
--
Phillip Gawlowski
Though the folk I have met,
(Ah, how soon!) they forget
When I've moved on to some other place,
There may be one or two,
When I've played and passed through,
Who'll remember my song or my face.