Skip to content

melanietosik/string-to-amr-alignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

String to semantic graph alignment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published