pip install tag-fixer
from tag_fixer import tag_fixer as tf
l = [["The","DT"],["teacher","NNP"],["is","VBZ"],["awesome","JJ"]]
fixed_list = tf.tag_fixer(l)
For tag_fixer_sents(), the presumed format of that data is a list sentences that are lists of [word,tag] pairs.
l2 = [[["The","DT"],["teacher","NNP"],["is","VBZ"],["awesome","JJ"]],[["This","DT"],["is","VBZ"],["another","JJ"]]]
fixed_sents = tf.tag_fixer_sents(l2)