Source code for our paper Non-Parametric Path Based Model for Taxonomy Induction in Knowledge Graphs. The code is an extension of Mallet which may be cited as follows:
@article{mccallum2002mallet,
title={Mallet: A machine learning for languagetoolkit},
author={McCallum, Andrew Kachites},
journal={http://mallet. cs. umass. edu},
year={2002}
}- Install Mallet machine learning language toolkit
- Install GNU Trove high performance collections for Java
- Install Deep cloner for Java from: https://github.com/kostaskougios/cloning
Run Main.java to run the simulated annealing algorithm on the Carnivora dataset. For other dataset and hyperparameter combinations, change the corresponding variables in Main.java.
The following updates to the repository are forthcoming:
- Friendly command line interface for dataset and hyperparameter input
- More thorough documentation of installation and runtime instructions