Mention encoding