摘要
正确、完整地抽取搜索网页的内容,是对检索到的信息进行处理的基本前提。本文分析了Google网页的结构特征,给出了一组匹配Google网页内容的正则式,并用V isual C#实现了一个内容抽取器。对多个Google网页的实际应用表明,本文提出的正则式匹配方法可以抽取Google网页的全部主要内容。
That properly and completely extracting the content of search Web pages is the basic precondition for handling the information retrieved. This paper analyses the structure characteristic of Google Web pages, presents a group of regular expressions for matching the content of these pages, and realizes a content extractor with Visual C#. The results from practical application to many Google Web pages shows that the matching method with regular expressions can extract the whole main content of Google Web pages.
出处
《现代图书情报技术》
CSSCI
北大核心
2005年第9期50-53,共4页
New Technology of Library and Information Service
关键词
正则式
抽取
网页
GOOGLE
Regular expressions Extraction Web page Google