Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.11 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.11 KB

String to Semantic Graph Alignment

DESCRIPTION

Code used for my undergrad thesis on "String to Semantic Graph Alignment".

Most of the code is adapted from "Aligning English Strings with Abstract Meaning Representation Graphs" (Pourdamghani et al., 2014).

README

Download and install MGIZA++.

Download the AMR bank.

Provide the address of mgizapp/scripts and mgizapp/bin folders in the addresses.keep file.

Provide the address of AMR and English files in the addresses.keep file, add .keep or put them in a different directory. The data files must have one linearized AMR or one English sentence per line.

Run script run.sh.

Output

AMR_Aligned.keep - Aligned English/AMR pairs.

Alignments.keep - Just the alignments.

Requirements

You need g++ and MGIZA++ installed.

AUTHOR

Melanie Tosik, tosik@uni-potsdam.de