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

问题描述

是否可以从R中的PDF文件解析文本数据?那里似乎不是与此类提取相关的软件包,但是有人尝试或看到过这是用R完成的吗?

Is it possible to parse text data from PDF files in R? There does not appear to be a relevant package for such extraction, but has anyone attempted or seen this done in R?

Python中是PDFMiner ,但如果可能的话,我希望将此分析保留在R中.

In Python there is PDFMiner, but I would like to keep this analysis all in R if possible.

有什么建议吗?

推荐答案

Linux系统具有pdftotext,我取得了一定的成功.默认情况下,它从给定foo.pdf创建foo.txt.

Linux systems have pdftotext which I had reasonable success with. By default, it creates foo.txt from a give foo.pdf.

也就是说,文本挖掘程序包可能具有转换器. 快速rseek.org搜索似乎与您的奇妙搜索一致.

That said, the text mining packages may have converters. A quick rseek.org search seems to concur with your crantastic search.

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

07-23 11:55