String to semantic graph alignment
Python Shell C++ Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
data
eval
scripts
README.md
Readme.keep
addresses.keep
run.sh

README.md

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