Text this: An Energy-based Model for Word-level AutoCompletion in Computer-aided Translation