English 中文(简体)
如何从PDF文件中提取案文? [闭门]
原标题:How to extract text from the PDF document? [closed]

问我们 提议或找到一种工具、图书馆或偏袒场外资源的问题,在Stack Overflow,因为它们往往吸引有意见的答复和垃圾邮件。 相反, 问题以及迄今为止为解决这一问题所做的工作。

Closed 9 years ago.

如何从PDF文件使用PHP提取案文?

(我可以使用其他工具,我没有根基。)

我发现一些功能为平原文本服务,但并没有很好地处理统法协会编码特征:

http://www.hashbangcode.com/blog/zend-lucene-and-pdf-documents-part-2-pdf-data-extraction-437.html

最佳回答

页: 1

法典:

include( class.pdf2text.php );
$a = new PDF2Text();
$a->setFilename( filename.pdf ); 
$a->decodePDF();
echo $a->output(); 

  • class.pdf2text.php Project Home
  • pdf2textclass doesn t work with all the PDF s I ve tested, If it doesn t work for you, try PDF Parser
问题回答

暂无回答




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签