Tekstiviesti: An analysis of convex relaxations for MAP estimation