汽车评论情感分析系统的设计与实现
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
学校指导教师姓名职称 郑有才 副教授
高工
工 程 领 域 计算机技术 企业指导教师姓名职称 解岩 论 文 类 型 应用软件技术
提 交 论 文 日 期 二〇一三年一月
西安电子科技大学 学位论文独创性(或创新性)声明
秉承学校严谨的学分和优良的科学道德,本人声明所呈交的论文是我个人在 导师指导下进行的研究工作及取得的研究成果。尽我所知,除了文中特别加以标 注和致谢中所罗列的内容以外, 论文中不包含其他人已经发表或撰写过的研究成 果; 也不包含为获得西安电子科技大学或其它教育机构的学位或证书而使用过的 材料。 与我一同工作的同志对本研究所做的任何贡献均已在论文中做了明确的说 明并表示了谢意。 申请学位论文与资料若有不实之处,本人承担一切的法律责任。 本人签名: 日期
目
录
第一章 绪论 ................................................................................................................. 1 1.1 选题背景及意义 ............................................................................................. 1 1.2 国内外现状分析 ............................................................................................. 2 1.3 论文工作内容 ................................................................................................. 4 1.4 论文组织结构 ................................................................................................. 4 第二章 相关技术概述 ................................................................................................. 5 2.1 B/S 结构 ........................................................................................................... 5 2.2 LTP ................................................................................................................... 6 2.3 Apriori 算法 ...................................................................................................... 7 2.3.1 Apriori 算法 ............................................................................................ 7 2.3.2 Apriori 算法效率的提高 ........................................................................ 9 2.4 SQL Server ....................................................................................................... 9 2.5 本章小结 ....................................................................................................... 10 第三章 汽车评论情感分析系统需求分析 ................................................................11 3.1 系统功能需求分析 ........................................................................................11 3.1.1 系统模块划分图 ..................................................................................11 3.1.2 系统用例图 ......................................................................................... 12 3.1.3 系统活动图 ......................................................................................... 13 3.2 系统数据需求分析 ....................................................................................... 14 3.3 系统性能需求分析 ....................................................................................... 16 3.4 网络结构需求分析 ....................................................................................... 17 3.5 本章小结 ....................................................................................................... 18 第四章 汽车评论情感分析系统总体设计 ............................................................... 19 4.1 系统设计原则 ............................................................................................... 19 4.2 系统架构设计 ................................................................................................ 20 4.2.1 系统架构图 ......................................................................................... 20 4.2.2 系统层间交互 ..................................................................................... 21 4.3 系统网络结构设计 ........................................................................................ 22
摘
要
随着互联网的迅速发展和普及, 网络逐渐成为消费者发表产品评论的重要平 台,而微博的出现又将这些评论限制到 140 个汉Fra Baidu bibliotek以内,内容丰富而且简洁。面 对海量的评论, 消费者希望可以快速得到关于某一产品的总体评价而不是一家之 言就变得尤为困难。这就需要提供一种有效的方法,能够自动或半自动地对海量 产品评论进行分析和处理,挖掘出评论中的产品属性以及对该属性的评价,并加 以情感分析和统计,提供给消费者需要的信息。 本文以开发汽车评论情感分析系统为背景,首先介绍了 B/S 结构和 LTP 的 基础知识以及 Apriori 算法的基本理论,其次对系统做了具体的功能需求和性能 需求分析,介绍了系统的总体架构和总体流程的设计,然后在实现部分中详细介 绍了系统功能和实现算法。最后,对系统进行了严格的测试,并针对测试结果进 行了详细的分析。 目前,该系统已经完成设计并实现,通过测试分析表明此系统各功能模块都 能够达到预期要求。 关键词:B/S 结构 情感分析 LTP Apriori 算法
代
号
10701 TP311
学 密 编
号 级 号
1077490445 公开
分类号 U D C
题 (中 、英 文) 目
汽车评论情感分析系统的设计与实现 Design and Implementation of Sentiment Analysis System for Reviews on Cars
作 者 姓 名 张爱莲
西安电子科技大学 关于论文使用授权的说明
本人完全了解西安电子科技大学有关保留和使用学位论文的规定,即:研究 生在校攻读学位期间论文工作的知识产权单位属西安电子科技大学。 学校有权保 留送交论文的复印件,允许查阅和借阅论文;学校可以公布论文的全部或部分内 容,可以允许采用影印、缩印或其它复制手段保存论文。同时本人保证,毕业后 结合学位论文研究课题再攥写的文章一律署名单位为西安电子科技大学。 (保密的论文在解密后遵守此规定) 本学位论文属于保密,在 本人签名: 导师签名: 年解密后适用本授权书。 日期 日期
Abstract
With the rapid development and popularization of the Internet, the network has gradually become an important platform for consumer to post product reviews and the emergence of MicroBlog makes these comments limited to 140 characters or less, with rich and succinct content. In the face of mass comments, it’s become particularly difficult for consumers to obtain the overall evaluation of a product rather than one-sided words quickly. So an effective method is required to analysis and processes these reviews in automatic or semi-automatic. It should mine the product attributes and its corresponding evaluation from reviews and perform the sentiment analysis and statistics to provide the information that consumer need. This paper is based on the development of the sentiment analysis system for reviews on cars. Firstly this paper introduces the basic knowledge of B/S structure and LTP and the basic theory of the Apriori algorithm. Then it builds the specific requirement analysis of function and performance. And then it introduces the design of the overall structure and overall process in detail. And then it introduces the system functions and implementation algorithms in the part of implements in detail. Finally, the system has been tested strictly, and the results of test are analyzed in detail. Currently, the system has completed the design and implementation. Through the testing analysis, the results show that the functional modules of this system are able to achieve the desired requirements. Keyword: B/S Structure Sentiment Analysis LTP Apriori Algorithm