Generate Multilingual SPMRL 2013/2014 Shared Task data
masterTo prepare the multilingual datasets (Arabic, Basque, French, German, Hebrew, Hungarian, Korean, Polish, Swedish):
- Prepare Raw Data:
- Copy or symlink the various SPMRL folders (e.g.,
ARABIC_SPMRL,BASQUE_SPMRL) intodata/raw/. - Arabic Alternative: If
data/raw/ARABIC_SPMRLis missing, you can use LDC sources. Place Arabic Treebank Parts 1-3 (LDC2010T13, LDC2011T09, and LDC2010T08) indata/raw/atb1_v4_1,data/raw/atb_2_3.1, anddata/raw/atb3_v3_2respectively. The build script will detect these and use the alternative pipeline.
- Copy or symlink the various SPMRL folders (e.g.,
- Environment Setup:
- Use Python 3.
- Install
nltk.
- Build Corpus:
- Execute the build script from the
data/spmrldirectory.
- Execute the build script from the
Output files follow the pattern {Language}.{train|dev|test} in data/spmrl/.
cd data/spmrl && ./build_corpus.sh