Code for Legal Cause Prediction with Inner Descriptions and Outer Hierarchies
- Python 3.6
- Tensorflow 1.08
- scikit-learn
- THULAC.so -- Download the model file and unzip it under the "bin" folder
Time flies and things change. I never expect this work to be published and thus lost the processed datasets.
I collect some civil data after the paper was accepted. You can download it at 百度网盘 (access code: 3tty). To run a demo on the civil dataset, unzip the file in the "bin" folder and execute:
python train_cail.py [gpu_num]
You can still get the FSC dataset at here and CAIL dataset at here. But you will need to process them.
If you use our code, please cite our paper:
@inproceedings{liu2019legal,
title={Legal Cause Prediction with Inner Descriptions and Outer Hierarchies},
author={Liu, Zhiyuan and Tu, Cunchao and Liu, Zhiyuan and Sun, Maosong},
booktitle={CCL},
year={2019}
}