{"id":13488412,"url":"https://github.com/liuhuanyong/TextGrapher","last_synced_at":"2025-03-28T01:35:01.665Z","repository":{"id":49877900,"uuid":"142264081","full_name":"liuhuanyong/TextGrapher","owner":"liuhuanyong","description":"Text Content Grapher based on keyinfo extraction by NLP method。输入一篇文档，将文档进行关键信息提取，进行结构化，并最终组织成图谱组织形式，形成对文章语义信息的图谱化展示。","archived":false,"fork":false,"pushed_at":"2021-10-20T03:16:44.000Z","size":3071,"stargazers_count":1358,"open_issues_count":22,"forks_count":358,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-10-29T21:03:04.240Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liuhuanyong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-25T07:30:37.000Z","updated_at":"2024-10-23T02:12:43.000Z","dependencies_parsed_at":"2022-09-12T15:32:00.704Z","dependency_job_id":null,"html_url":"https://github.com/liuhuanyong/TextGrapher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuhuanyong%2FTextGrapher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuhuanyong%2FTextGrapher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuhuanyong%2FTextGrapher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuhuanyong%2FTextGrapher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liuhuanyong","download_url":"https://codeload.github.com/liuhuanyong/TextGrapher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222333970,"owners_count":16968055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T18:01:15.274Z","updated_at":"2024-10-31T00:31:14.021Z","avatar_url":"https://github.com/liuhuanyong.png","language":"Python","funding_links":[],"categories":["Python","知识图谱"],"sub_categories":["其他_文本生成、文本对话"],"readme":"# TextGrapher\nText Content Grapher based on keyinfo extraction by NLP method。输入一篇文档，将文档进行关键信息提取，进行结构化，并最终组织成图谱组织形式，形成对文章语义信息的图谱化展示。\n# 项目介绍\n如何用图谱和结构化的方式，即以简洁的方式对输入的文本内容进行最佳的语义表示是个难题。　本项目将对这一问题进行尝试，采用的方法为：输入一篇文档，将文档进行关键信息提取，并进行结构化，并最终组织成图谱组织形式，形成对文章语义信息的图谱化展示。　　\n# 使用方式\n    from text_grapher import *\n    content = '你要分析的文本'\n    handler = CrimeMining()\n    handler.main(content)\n结果保存在graph.html文件当中。　　\n\n# 事件举例\n１) 中兴事件　\n![image](https://github.com/liuhuanyong/TextGrapher/blob/master/image/%E4%B8%AD%E5%85%B4%E4%BA%8B%E4%BB%B6.png)\n\n2) 魏则西事件　\n![image](https://github.com/liuhuanyong/TextGrapher/blob/master/image/%E9%AD%8F%E5%88%99%E8%A5%BF%E4%BA%8B%E4%BB%B6.png)\n\n3) 雷洋事件　\n![image](https://github.com/liuhuanyong/TextGrapher/blob/master/image/%E9%9B%B7%E6%B4%8B%E5%AB%96%E5%A8%BC%E4%BA%8B%E4%BB%B6.png)\n\n4) 同学杀人事件　\n![image](https://github.com/liuhuanyong/TextGrapher/blob/master/image/%E5%90%8C%E5%AD%A6%E6%9D%80%E4%BA%BA%E4%BA%8B%E4%BB%B6.png)\n\n# 总结\n１）如何用图谱和结构化的方式，即以简洁的方式对输入的文本内容进行最佳的语义表示是个难题。  \n２）本项目采用了高频词，关键词，命名实体识别，主谓宾短语识别等抽取方式，并尝试将三类信息进行图谱组织表示，这种表示方式是一种尝试。  \n３）命名实体识别以及关键信息抽取受限于NLP的性能，在算法和方式上还存在多处不足。\n# Question?\n send mail to lhy_in_blcu@126.com  \n If any question about the project or me ,see https://liuhuanyong.github.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuhuanyong%2FTextGrapher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliuhuanyong%2FTextGrapher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuhuanyong%2FTextGrapher/lists"}