An Attention-Based Model for Predicting Contextual Informativeness and Curriculum Learning Applications