基于文本密度的藏文网页正文提取方法
2017-08-24洛松求培安见才让
洛松求培+安见才让


摘 要: 互联网的发展带动了另一种形式的信息传播,人们越来越多地依赖于电子产品,Web网页也随之变为了最大的信息源,利用好这些资源便涉及信息提取。为了从Web网页中获取关键藏文信息,文章提出了基于文本密度的藏文网页正文提取方法,利用半结构化的HTML网页中正文内容的连续性特点,结合正则表达式过滤HTML标签。此方法针对主题型网页,类似新闻类网页中的正文提取具有较高的准确率。
关键词: 藏文信息; 藏文网页正文提取; HTML; Web网页
中图分类号:TP391 文献标志码:A 文章编号:1006-8228(2017)08-46-02
Abstract: The development of the Internet has led to another form of information dissemination, people are increasingly relying on electronic products, Web also become the largest source of information, and the use of these resources will involve the extraction of information. In order to obtain the key Tibetan information from the Web, this paper proposes a method to extract the Web text based on text density, which uses the continuity characteristics of semi-structured text content in HTML pages and the regular expression. This method has higher accuracy for text extraction in theme pages and similar news pages.
Key words: Tibetan information; Tibetan Web content extraction; HTML; Web
0 引言
随着互联网的迅速发展,计算机应用技术在藏族地区的不断普及应用,出现了大量的藏文网页,为广大藏族群众提供了极其丰富的藏文信息资源。目前搜索引擎能帮助人们快速地搜索到想要的信息,但每个网页除了正文内容外还掺杂了很多用户不需要的信息。如网页中的导航链接、广告链接、版权信息和相关主题阅读推荐链接等。这些信息在网页中出现,影响了用户对主题内容的浏览。按照现在的发展情况,藏文网页的数量呈现上升趋势,用户的数量也在逐年增加。
因此,从大量噪音信息的网页中将正文信息准确、完整地提取出来,显得尤为重要。Web信息提取是将Web作为信息源的一类信息提取,就是从半结构化的Web文档中抽取数据。国内外在这方面关注的时间比较早,研究提出的方法也很多,技术已趋于成熟。目前藏文网页正……
