Skip to content

Key information extraction from text and graph visualization

License

Notifications You must be signed in to change notification settings

BrambleXu/news-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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