ag3713a / news-graph

Key information extraction from text and graph visualization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

News Graph

Key information extration from text and graph visilization. Inspired by 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

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 image1

  2. Tokyo Marathon 2019 Elite Field image )

  3. EVEN ANONYMOUS CODERS LEAVE FINGERPRINTS image3

About

Key information extraction from text and graph visualization

License:MIT License


Languages

Language:Python 87.1%Language:HTML 12.9%