https://github.com/kernel-loophole/know-graph
https://github.com/kernel-loophole/know-graph
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/kernel-loophole/know-graph
- Owner: kernel-loophole
- License: mit
- Created: 2023-12-26T13:43:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-27T07:48:24.000Z (over 2 years ago)
- Last Synced: 2025-01-24T10:46:48.379Z (over 1 year ago)
- Language: Python
- Size: 1.59 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: news_graph.py
- License: LICENSE
Awesome Lists containing this project
README
# News Graph
Key information extration from text and graph visilization. Inspired by [TextGrapher](https://github.com/liuhuanyong/TextGrapher).
# Project Introduction
How to represent a text in a simple way is a chanllenge topic. This peoject try to extraction key information from the text by NLP methods, which contain NER extraction, relation detection, keywords extraction, frequencies words extraction. And finally show the key information in a graph way.
# How to use
```python
from news_graph import NewsMining
content = 'Input you text here'
Miner = NewsMining()
Miner.main(content)
```
This will generate the `graph.html`.
# Example Demo
1) [Blockbuster *The Wandering Earth*](https://www.theverge.com/2019/2/9/18218479/the-wandering-earth-review-film-china-first-science-fiction-blockbuster-cixin-liu-gravity-the-core)

2) [Tokyo Marathon 2019 Elite Field](https://www.marathon.tokyo/en/news/detail/news_001178.html)

)
3) [EVEN ANONYMOUS CODERS LEAVE FINGERPRINTS](https://www.wired.com/story/machine-learning-identify-anonymous-code/?utm_campaign=Deep%20Learning%20Weekly&utm_medium=email&utm_source=Revue%20newsletter)
