找回密码
 注册
查看: 770|回复: 0

R语言 sentiment包 emotions()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 01:09:23 | 显示全部楼层 |阅读模式
emotions(sentiment)
emotions()所属R语言包:sentiment

                                         a dataset containing words categorized into six emotion categories.
                                         的数据集包含分为6个情感类的话。

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

A dataset containing approximately 1500 words classified into six emotion categories: anger, disgust, fear, joy, sadness, and surprise.
数据集包含约1500个单词分为六个情感类:愤怒,厌恶,恐惧,快乐,悲伤和惊奇。


用法----------Usage----------


data(emotions)



格式----------Format----------

A data.frame containing two columns.
Adata.frame包含两列。

1. word - A word from the WordNet database.
1。 word“ - 一个字从WordNet数据库。

2. emotion - The emotion it is classified under (e.g. anger, disgust, fear, joy, sadness, surprise).
2。 emotion  - 分类下的情绪(如愤怒,厌恶,恐惧,快乐,悲伤,惊奇)。


源----------Source----------

Carlo Strapparava and Alessandro Valitutti, "WordNet-Affect: an affective extension of WordNet". In Proceedings of the 4th International Conference on Language Resources and Evaluation (LREC 2004), Lisbon, May 2004, pp. 1083-1086. http://www.cse.unt.edu/~rada/affectivetext/
卡罗Strapparava和Alessandro Valitutti,“WordNet的影响:WordNet的情感延伸”。在语言资源与评价(LREC 2004年),里斯本,2004年5月,第1083-1086第四届国际会议上。 http://www.cse.unt.edu/~的拉达/ affectivetext /


实例----------Examples----------


# READ THE CSV[读取CSV]
data <- read.csv(system.file("data/emotions.csv.gz",package="sentiment"))
# ALTERNATIVELY, USE THE data() FUNCTION[另外,使用data()函数]
data(emotions)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-19 21:31 , Processed in 0.024397 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表