// the take
TextGrapher takes a Chinese-language document and extracts key entities, keywords, and subject-verb-object triples, then renders them as an interactive graph in an HTML file using vis.js. It's aimed at Chinese NLP practitioners who want a quick visualization of semantic structure in news or event-driven text. The examples are all crime/controversy news stories from Chinese media circa 2017-2021.
The pipeline is simple and self-contained — one call to `handler.main(content)` produces a browsable HTML graph with no server required. It combines three complementary extraction methods (TextRank keywords, NER, SVO triples) rather than relying on just one. The vis.js output is genuinely interactive, which makes it useful for demos or quick exploration. The code is short enough that you can actually read and modify it in an afternoon.
Hard-wired for Chinese text only — the NLP pipeline depends on Chinese-specific tokenization and models (likely jieba/HanLP underneath), so it won't work on English without a complete rewrite of the extraction layer. Last commit was October 2021 and the README links to a personal blog for support — this is effectively abandoned. No requirements.txt or setup.py is visible in the tree, which means you're on your own figuring out which dependency versions actually work together. The SVO extraction quality is acknowledged as weak even by the author, so the graphs for anything beyond simple news sentences will be noisy and require manual cleanup.
We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →