中文文本数据逻辑性分析库
source link: http://mp.weixin.qq.com/s?__biz=MzI1MTE2ODg4MA%3D%3D&%3Bmid=2650072376&%3Bidx=1&%3Bsn=ce2cc694b7da9ac039e3ab596e24f4e5
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
项目作者:刘焕勇
项目地址:
https://github.com/liuhuanyong/ComplexEventExtraction
项目介绍
原始项目名为 ComplexEventExtraction,即 中文复合事件抽取,包括条件事件、因果事件、顺承事件、反转事件。 我 个人觉得可以用于识别 文本中是否存在逻辑表达,统计文本中的各种逻辑表达的句子数。
事件类型
项目地址https://github.com/liuhuanyong/ComplexEventExtraction 项目介绍很详细,感兴趣的一定要去原项目看一下。
如果我会知识图谱(比如社交网络分析) 可视化技能 ,就能根据分析出的条件、因果、顺承、反转的数据结构,可视化一段文本的知识图谱。图片是刘焕勇别的项目绘制出来的。
1、反转事件图谱
2、条件事件图谱
安装方法
项目地址
https://github.com/liuhuanyong/ComplexEventExtraction
项目介绍很详细,感兴趣的一定要去原项目看一下。
^_^ 这是大 邓封装的库,可 以命令行安装
<strong><code>pip3 install https://github.com/thunderhit/eventextraction/archive/master.zip</code></strong><code></code>
使用
3.1 主函数
运行结果
3.2 统计
运行结果
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK