/SSP_sem

Primary LanguagePython

Script parsing with hierarchical sequence modeling

About

This repository shares the code and data for our paper Script parsing with hierarchical sequence modeling for interest of reproducing its results. For questions, please mail to Zhai Fangzhou.

Environment

The core enrironment is AllenNLP 1.0 with Python 3.7. For further details, please refer to ./wp120200722

Data

All data is included in ./data_combinations, including that from InScript, DeScript and back-translation paraphrased InScript, and our train/val splits. Our experiments were conducted with different combinations of these files.

Usage

  1. your data format should follow that of the files in ./data_combinations
  2. adjust settings in SSP_optimization_script.py
  3. execute SSP_optimization_script.py