Jump to content

PHP for text extraction from commonly used documents


louis_coetzee

Recommended Posts

Hi everyone,

 

I do not know if this is the right place to ask the following, but I know all the php guru's read here. So please take a moment to read and please help point me in the right direction.

 

I have a php website that I am developing, it is a job website, where my problem is that I need to be able to extract text from the following file formats: doc, docx, rtf, txt and maybe pdf.

 

I have googled and done research on this subject, but I do not find any php scripts that can do the job properly.

I have found a java app developed by apache that does the text extraction perfectly, called apache tika.

(calling it using exec is really a problem, since most hosts don't provide root access.)

 

I need a way to use this with php. If you know of any other method that I can do this, please help and suggest as this is a major bridge that I have to cross very urgently.

 

your help will be much appreciated,

thanks

Link to comment
Share on other sites

This doesn't answer your question, but since all resumes are formatted differently, why even have a script than scans them for anything? I mean unless you're scanning them for profanity or something, in which case you should just have a 'notify' option for someone to report the resume in that case. In most jobs sites, you can include your resume, but you're still required to enter your name, address, etc separately so that the info may be inserted into the site's database for indexing purposes.

 

The main question is "What are you scanning for?" and figure out a way to get that information by other means.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.