Imported from https://github.com/henrymoss/COLING2018