本文介绍了Ruby:读取PDF文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种快速,可靠的方式来读取/解析Ruby中的大型PDF文件(在Linux和OSX上).

I'm looking for a fast and reliable way to read/parse large PDF files in Ruby (on Linux and OSX).

直到现在,我已经找到了相当古老而简单的 PDF工具包( ="http://en.wikipedia.org/wiki/Pdftotext" rel ="noreferrer"> pdftotext -包装器)和 PDF阅读器,无法读取我的大部分文件.尽管这两个库提供了我一直在寻找的功能.

Until now I've found the rather old and simple PDF-toolkit (a pdftotext-wrapper) and PDF-reader, which was unable to read most of my files. Though the two libraries provide exactly the functionality I was looking for.

我的问题:我错过了什么吗?有没有更适合(更快,更可靠)的工具来解决我的问题?

My question: Have I missed something? Is there a tool that is better suited (faster and more reliable) to solve my problem?

推荐答案

您可能会找到 Docsplit 有用:

这篇关于Ruby:读取PDF文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-30 10:24