The implementation is based on the official implementation of the previous method (http://github.com/nju-websoft/OpenEA/dbp2.0).
We mainly use Tensorflow. 
This code base is for demonstration purpose.
We don't include all codes here. 
## Dataset

The DBP2.0 dataset can be downloaded from https://doi.org/10.6084/m9.figshare.14872080. It has three entity alignment settings, i.e., ZH-EN, JA-EN and FR-EN. We also provide ZH-EN data with our submission in OpenReview. 

### Dependencies
* OpenEA (https://github.com/nju-websoft/OpenEA)

Please follow the instructions in OpenEA for installing necessary packages. 

### Running 

For example, to run MHM /w MR on ZH-EN for dangling entity detection and entity alignment in the consolidated evaluation setting, please use the following command:

```bash
cd dbp2.0
python main.py --training_data ../DBP2.0/zh_en/ --use_dangling_bin_cls --use_NCA_loss --use_adver_training --max_dangling_to_target 
```
