Code for preprocessing AMR graphs.
- remove wiki
- graph recategorizate
- anonymize concept sense
- anonymize Entities
- DFS linearization
- levi graph transformation
- add pointer
- reify_edges
- dereify_edges
- Concatenate splitted AMRs into one file:
cat /path/to/amr_files > /path/to/xxx-all.txt
- Move the concatenated file into corresponding directory and run graph linearization script:
bash run-process-acl2022.sh
The processed files will be in the outputs
directory.