SarcasmDetection:使用神经网络对推文进行Sarcasm检测

上传者: 42133918 | 上传时间: 2023-03-20 21:21:46 | 文件大小: 3.17MB | 文件类型: ZIP
先决条件: nltk(TweetTokenizer) 凯拉斯张量流麻木科学的gensim(如果您使用的是word2vec) itertools 克隆存储库: git clone :AniSkywalker / SarcasmDetection.git cd SarcasmDetection / src / 您可以在以下链接中找到经过训练的模型文件 在/ resource / text_model / weights /中下载经过训练的模型 运行脚本: python sarcasm_detection_model_CNN_LSTM_DNN.py 如果要使用自己的数据训练模型,可以将“训练,开发

文件下载

资源详情

[{"title":"( 42 个子文件 3.17MB ) SarcasmDetection:使用神经网络对推文进行Sarcasm检测","children":[{"title":"SarcasmDetection-master","children":[{"title":"src","children":[{"title":"sarcasm_detection_model_CNN_LSTM_DNN_simpler.py <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false},{"title":"sarcasm_detection_moods_siamese.py <span style='color:#111;'> 16.56KB </span>","children":null,"spread":false},{"title":"sarcasm_context_moods.py <span style='color:#111;'> 15.14KB </span>","children":null,"spread":false},{"title":"sarcasm_detection_model_CNN_LSTM_DNN_word2vec.py <span style='color:#111;'> 10.68KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"sarcasm_detection_model_CNN_LSTM_DNN_fasttext.py <span style='color:#111;'> 11.81KB </span>","children":null,"spread":false},{"title":"sarcasm_detection_model_CNN_LSTM_DNN.py <span style='color:#111;'> 12.04KB </span>","children":null,"spread":false},{"title":"sarcasm_detection_model_CNN_DNN_2D.py <span style='color:#111;'> 12.26KB </span>","children":null,"spread":false},{"title":"sarcasm_detection_model_attention.py <span style='color:#111;'> 15.15KB </span>","children":null,"spread":false},{"title":"sarcasm_detection_model_CNN_LSTM_ATTN.py <span style='color:#111;'> 14.10KB </span>","children":null,"spread":false},{"title":"data_processing","children":[{"title":"data_handler.py <span style='color:#111;'> 19.36KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"glove2Word2vecLoader.py <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"sarcasm_detection_siamese.py <span style='color:#111;'> 15.35KB </span>","children":null,"spread":false}],"spread":false},{"title":"__init__.py <span style='color:#111;'> 20B </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"markdown-navigator","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 104B </span>","children":null,"spread":false}],"spread":true},{"title":"misc.xml <span style='color:#111;'> 185B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"SarcasmDetection.iml <span style='color:#111;'> 492B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"profiles_settings.xml <span style='color:#111;'> 235B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"resource","children":[{"title":"train","children":[{"title":"Train_v1.txt <span style='color:#111;'> 3.89MB </span>","children":null,"spread":false},{"title":".directory <span style='color:#111;'> 59B </span>","children":null,"spread":false}],"spread":true},{"title":"text_context_awc_model","children":[{"title":"weights","children":[{"title":"model.json <span style='color:#111;'> 8.82KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"Test_v1.txt <span style='color:#111;'> 179.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"word_list_freq.txt <span style='color:#111;'> 974.93KB </span>","children":null,"spread":false},{"title":"text_model_2D","children":[{"title":"vocab_list.txt <span style='color:#111;'> 486.28KB </span>","children":null,"spread":false},{"title":"weights","children":[{"title":"model.json <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"emoji_unicode_names_final.txt <span style='color:#111;'> 31.60KB </span>","children":null,"spread":false},{"title":"word_split.txt <span style='color:#111;'> 253.40KB </span>","children":null,"spread":false},{"title":".directory <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":"dev","children":[{"title":"Dev_v1.txt <span style='color:#111;'> 149.09KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Dev_context_moods.txt <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false}],"spread":true},{"title":"word_list.txt <span style='color:#111;'> 644.29KB </span>","children":null,"spread":false},{"title":"abbreviations.txt <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"offensive_words.txt <span style='color:#111;'> 10.91KB </span>","children":null,"spread":false},{"title":"text_model","children":[{"title":"vocab_list.txt <span style='color:#111;'> 478.88KB </span>","children":null,"spread":false},{"title":"weights","children":[{"title":"model.json <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"README.md <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明