Skip to content
No description, website, or topics provided.
Python C Shell Java Makefile
Branch: master
Clone or download
Latest commit 929a753 Oct 28, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore update gitignore to avoid tracking labels Aug 5, 2017 readme Oct 28, 2018


This repo is an implementation of the following paper for constructing topic taxonomy from text corpora.

"TaxoGen: Unsupervised Topic Taxonomy Construction by Adaptive Term Embedding and Clustering", Chao Zhang, Fangbo Tao, Xiusi Chen, Jiaming Shen, Meng Jiang, Brian Sadler, Michelle Vanni, Jiawei Han, ACM SIGKDD Conference on Knowledge Discovery and Pattern Mining (KDD), 2018.


The input consists of three files:

  1. papers.txt
  • This data file contains all the documents (e.g., paper titles).
  • Every line is a sequence of processed keywords (either uni-grams or phrases).
  • The keywords are separated by blank spaces (words in a phrase are concatenated by '_').
  1. keywords.txt
  • This data file contains all keywords extracted from the document collection (e.g., entities, noun phrases).
  • Every line is a keyword.
  1. embeddings.txt
  • This data file contains the embeddings of all the keywords.
  • Every line is the embedding of a keyword.

The DBLP dataset used in the paper is available here:

How to run?

You can use "python" to run TaxoGen.

A full pipeline is included in, including how we preprocess the corpus, run TaxoGen, and postproces the results for visualization.

You can’t perform that action at this time.