- 博客(0)
- 资源 (26)
- 收藏
- 关注
Generating Domain-Specific Lexicons and Sentiment Analysis
The sentiment captured in opinionated text
provides interesting and valuable information
for social media services. However,
due to the complexity and diversity of
linguistic representations, it is challenging
to build a framework that accurately
extracts such sentiment. We propose a
semi-supervised framework for generating
a domain-specific sentiment lexicon
and inferring sentiments at the segment
level. Our framework can greatly reduce
the human effort for building a domainspecific
sentiment lexicon with high quality.
Specifically, in our evaluation, working
with just 20 manually labeled reviews,
it generates a domain-specific sentiment
lexicon that yields weighted average FMeasure
gains of 3%. Our sentiment classification
model achieves approximately
1% greater accuracy than a state-of-the-art
approach based on elementary discourse
units.
2017-07-25
破圈法求最小生成树
可用“破圈法”求解带权连通无向图的一棵最小代价生成树。所谓”破圈法“就是”任取一圈,去掉圈上权最大的边“,反复执行这一步骤,直到没有圈为止。请给出用“破圈法”求解给定的带权连通无向图的一棵最小代价生成树的详细算法,并用程序实现你所给出的算法
2016-04-10
寻找回路算法
假设以临接矩阵作为图的存储结构,编写算法判别在给定的有向图中是否存在一个简单的有向回路,若存在,则以顶点序列的方式输出该回路(找到一条即可)。(注:图中不存在顶点到自己的弧)
2016-04-10
环形队列 队满
数据结构,算法及应用第二章15题答案
设计一个环形队列,用front和rear分别作为队头和队尾指针,另外用一个tag表示队列是空(0)还是满(1),这样就可以用front==rear作为队满的条件。要求设计队列的相关基本算法。
2014-10-26
队列排列 ,插入
数据结构,算法及应用第二章14题答案
由用户输入n个10以内的数,每输入i(0<=i<=9),就把它插入到第i号队列中。最后把10个队列中非空队列,按队列号从小到大的顺序串接成一条链,并输出该链的所有元素。
2014-10-26
删除顺序表中的元素
利用顺序表的操作,实现以下函数:
(1)从顺序表中删除具有最小值的元素并由函数返回被删元素的值,空出的位置由最后一个元素填补。
(2)从顺序表中删除具有给定值x的所有元素。
(3)从有序顺序表中删除其值在给定值s与t之间(s<t)的所有元素,
2014-10-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人