验证PDF中存在单词组 [英] Verify group of words are present in a PDF

查看:68
本文介绍了验证PDF中存在单词组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用C#验证PDF文档。我必须检查几个单词或一组单词是否存在于PDF中。

解决方案

您需要从PDF文件中提取文本然后搜索单词的文字。



如果您打算进行全文搜索,请阅读我的文章(在任何其他情况下,该文章都有解决方案从PDF中提取文本文件 IFilter s): hOOt - 全文搜索引擎 [ ^ ]

I am trying to verify a PDF document using C#. I have to check few words or group of words whether they are present in the PDF or not .

解决方案

You need to extract the text from a PDF file then search the text for your words.

If you intend to do full text search then read my article (and in any other case the article has the solution to extract text from a PDF file with IFilters): hOOt - full text search engine[^]


这篇关于验证PDF中存在单词组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆