摘要
HTML页面解析是一切工作的基础。首先,通过分析HTML解析器感兴趣的标签与超链接的分类,在Java的Swing包的基础上实现了一个HTML解析器,用来提取HTML文档的超链接和锚文本;其次,把HTML解析器应用到多媒体信息检索系统的搜索器Spider的开发中,通过设定若干个种子网站,选择合适的搜索算法,从中筛选出包含音频、视频和Flash动画的Web页面,并将其存放在数据库中。
HTML page parsing is the foundation of all work.By analyzing the tags and classification of hyperlinks that HTML parsers are interested in,an HTML parser has been implemented based on Java's Swing package to extract hyperlinks and anchor text from HTML documents;Then,the HTML parser is applied to the development of the search engine Spider for multimedia information retrieval systems.By setting several seed websites and selecting appropriate search algorithms,web pages containing audio,video,and Flash animations are filtered out and stored in a database.
作者
宋宇
SONG Yu(Library of Nanjing University of Chinese Medicine,Nanjing,Jiangsu Province,210023 China)
出处
《科技资讯》
2024年第14期43-45,49,共4页
Science & Technology Information