Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #9488 > unrolled thread
| Started by | sarika <sarikasoni12@gmail.com> |
|---|---|
| First post | 2013-05-21 00:04 -0700 |
| Last post | 2013-05-21 21:48 +0200 |
| Articles | 7 — 7 participants |
Back to article view | Back to comp.lang.php
insert PDF table in database sarika <sarikasoni12@gmail.com> - 2013-05-21 00:04 -0700
Re: insert PDF table in database Goran <goran@nospam.com> - 2013-05-21 10:48 +0200
Re: insert PDF table in database Jerry Stuckle <jstucklex@attglobal.net> - 2013-05-21 06:07 -0400
Re: insert PDF table in database Arno Welzel <usenet@arnowelzel.de> - 2013-05-21 12:08 +0200
Re: insert PDF table in database The Natural Philosopher <tnp@invalid.invalid> - 2013-05-21 12:46 +0100
Re: insert PDF table in database Michael Vilain <vilain@NOspamcop.net> - 2013-05-21 09:27 -0700
Re: insert PDF table in database "J.O. Aho" <user@example.net> - 2013-05-21 21:48 +0200
| From | sarika <sarikasoni12@gmail.com> |
|---|---|
| Date | 2013-05-21 00:04 -0700 |
| Subject | insert PDF table in database |
| Message-ID | <b6c1cfb3-1f8b-48c5-8822-25d10402d896@googlegroups.com> |
Hi All What i want is to read content in PDF table and convert it into either XML or associative array to be inserted in database on the fly. I have gone through many libraries on net providing text extraction from PDF and converting in array but that array does not seem to be useful as its not associative array and array indexing is also not proper. Thanks in advance for the replies but i am really stuck with this major issue. My project manager wants me to implement as soon as possible.
[toc] | [next] | [standalone]
| From | Goran <goran@nospam.com> |
|---|---|
| Date | 2013-05-21 10:48 +0200 |
| Message-ID | <knfcd2$uv0$1@news.metronet.hr> |
| In reply to | #9488 |
On 21.5.2013 9:04, sarika wrote: > My project manager wants me to implement as soon as possible. > Tell him "you do it" :)
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2013-05-21 06:07 -0400 |
| Message-ID | <knfgq3$e3g$1@dont-email.me> |
| In reply to | #9488 |
On 5/21/2013 3:04 AM, sarika wrote: > Hi All > > What i want is to read content in PDF table and convert it into either XML or associative array to be inserted in database on the fly. > > I have gone through many libraries on net providing text extraction from PDF and converting in array but that array does not seem to be useful as its not associative array and array indexing is also not proper. > > Thanks in advance for the replies but i am really stuck with this major issue. > My project manager wants me to implement as soon as possible. > It's impossible to help you when you don't show any code and don't tell us *exactly* what's wrong with your code. "It's not an associative array" and "array indexing is not proper" don't provide enough information. If you want help, we need things like: 1). A sample input document 2). The code you're using 3). The expected output 4). The output you got -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
[toc] | [prev] | [next] | [standalone]
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Date | 2013-05-21 12:08 +0200 |
| Message-ID | <519B478C.2010107@arnowelzel.de> |
| In reply to | #9488 |
sarika, 2013-05-21 09:04: [...] > My project manager wants me to implement as soon as possible. And what is your manager willing to pay for a solution? ;-) -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2013-05-21 12:46 +0100 |
| Message-ID | <knfmqg$c0$3@news.albasani.net> |
| In reply to | #9496 |
On 21/05/13 11:08, Arno Welzel wrote: > sarika, 2013-05-21 09:04: > > [...] >> My project manager wants me to implement as soon as possible. > And what is your manager willing to pay for a solution? ;-) > > The problem is that two apparently identical PDFs can be totally different internally. Yea even down to being simply bitmaps with no text, that at intended resolution appear identical. at best you can strip out most of the text and with a bit of intelligence, sometimes even get it in the right order. -- Ineptocracy (in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
[toc] | [prev] | [next] | [standalone]
| From | Michael Vilain <vilain@NOspamcop.net> |
|---|---|
| Date | 2013-05-21 09:27 -0700 |
| Message-ID | <vilain-06578B.09274721052013@news.individual.net> |
| In reply to | #9488 |
In article <b6c1cfb3-1f8b-48c5-8822-25d10402d896@googlegroups.com>, sarika <sarikasoni12@gmail.com> wrote: > Hi All > > What i want is to read content in PDF table and convert it into either XML or > associative array to be inserted in database on the fly. > > I have gone through many libraries on net providing text extraction from PDF > and converting in array but that array does not seem to be useful as its not > associative array and array indexing is also not proper. > > Thanks in advance for the replies but i am really stuck with this major > issue. > My project manager wants me to implement as soon as possible. I ran across this problem with various bank statements that I downloaded via my bank's personal web site. The PDFs were encrypted and set with certain properties that didn't allow scanning of the text layer. Unless you are able to decrypt and do OCR on the PDFs, you're wasting your time here. The problem isn't as simple as your manager would think. At best, you could offer a partial solution of being able to scan "some" PDF files but without libraries to decrypt and OCR the text, that's all you can do. Those libraries are probably on-line somewhere for a fee. Buy the solution if you're in a time crunch. Beating the fastest horse on your team is poor project management skills and won't get him the code any faster. -- DeeDee, don't press that button! DeeDee! NO! Dee... [I filter all Goggle Groups posts, so any reply may be automatically ignored]
[toc] | [prev] | [next] | [standalone]
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Date | 2013-05-21 21:48 +0200 |
| Message-ID | <b021d5F1i6tU1@mid.individual.net> |
| In reply to | #9503 |
On 21/05/13 18:27, Michael Vilain wrote: > In article <b6c1cfb3-1f8b-48c5-8822-25d10402d896@googlegroups.com>, > sarika <sarikasoni12@gmail.com> wrote: > >> Hi All >> >> What i want is to read content in PDF table and convert it into either XML or >> associative array to be inserted in database on the fly. >> >> I have gone through many libraries on net providing text extraction from PDF >> and converting in array but that array does not seem to be useful as its not >> associative array and array indexing is also not proper. >> >> Thanks in advance for the replies but i am really stuck with this major >> issue. >> My project manager wants me to implement as soon as possible. > > I ran across this problem with various bank statements that I downloaded > via my bank's personal web site. The PDFs were encrypted and set with > certain properties that didn't allow scanning of the text layer. Unless > you are able to decrypt and do OCR on the PDFs, you're wasting your time > here. The problem isn't as simple as your manager would think. At > best, you could offer a partial solution of being able to scan "some" > PDF files but without libraries to decrypt and OCR the text, that's all > you can do. > > Those libraries are probably on-line somewhere for a fee. Buy the > solution if you're in a time crunch. Beating the fastest horse on your > team is poor project management skills and won't get him the code any > faster. > Most likely the company said they can do this to their western customer, then a manager gets the task to see to that his team solves the problem, the work is then pushed to a "shadow resource" who looks for solutions online. If not managing to solve the issue, there is always hundreds of others to replace that person with. At least that is my experience how things work in India. -- //Aho
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web