Rescoring of a Moses word graph using a translation model is performed with: nematus/rescore_graph.py
The Moses word graph is obtained by adding the flags "-osg " to Moses.
It then must be converted to fst format using: scripts/gen_lattice.sh

@inproceedings{nematus,
address = "Valencia, Spain",
author = "Sennrich, Rico and Firat, Orhan and Cho, Kyunghyun and Birch, Alexandra and Haddow, Barry and Hitschler, Julian and Junczys-Dowmunt, Marcin and L{"a}ubli, Samuel and {Miceli Barone}, Antonio Valerio and Mokry, Jozef and Nadejde, Maria",
booktitle = "{Proceedings of the Demonstrations at the 15th Conference of the European Chapter of the Association for Computational Linguistics}",
title = "{Nematus: a Toolkit for Neural Machine Translation}",
year = "2017"
}