Efficient Machine Teaching Frameworks for Natural Language Processing