Semi-Supervised Learning with Declaratively Specified Entropy Constraints