Instructions: Given an input stream, the objective of this task is to classify whether words in the stream are grammatically correct or not. The input to this task is a stream of words, possibly from captions generated by a speech-to-text engine, and the output is a classification of each word from the labels (reason) = [NO_DIFF (correct), CASE_DIFF (case error), PUNCUATION_DIFF (punctuation error), CASE_AND_PUNCUATION_DIFF (both case and punctuation error), STEM_BASED_DIFF (stem word error), DIGIT_DIFF (digit error), INTRAWORD_PUNC_DIFF (intra-word punctuation error), and UNKNOWN_TYPE_DIFF (an error that does not corrrespond to the previous categories)].
Input: ['this', 'is', 'a', 'Tonka', 'done', 'in', 'central', 'Tibet', 'about', '1500', 'AD', 'the', 'central', 'deity', 'Mahakala', 'merges', 'out', 'of', 'this', 'halo', 'of', 'flames', 'a', 'demon', 'from', 'your', 'worst', 'nightmares', 'within', 'Buddhism', 'Mahakala', 'means', 'the', 'great', 'dark', 'one', 'or', 'blackness', 'you', 'would', 'have', 'been', 'in', 'a', 'dark', 'temple', 'with', 'a', 'candle', 'and', 'seeing', 'portions', 'of', 'this', 'deity', 'emerging', 'from', 'the', 'darkness', 'he', 'stands', 'on', 'a', 'corpse', 'Berenice', 'fangs', 'and', 'holding', 'a', 'knife', 'in', 'a', 'skull', 'full', 'of', 'blood', 'and', 'gore', 'surrounded', 'by', 'this', 'host', 'of', 'demons', 'the', 'dance', 'brandishing', 'weapons', 'well', 'dogs', 'jackals', 'and', 'crows', 'devour', 'the', 'flesh', 'of', 'dead', 'bodies', 'I']
Output:
CASE_DIFF NO_DIFF NO_DIFF UNKNOWN_TYPE_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF NO_DIFF NO_DIFF INTRAWORD_PUNC_DIFF CASE_DIFF NO_DIFF PUNCUATION_DIFF PUNCUATION_DIFF UNKNOWN_TYPE_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF UNKNOWN_TYPE_DIFF CASE_DIFF PUNCUATION_DIFF NO_DIFF NO_DIFF NO_DIFF INTRAWORD_PUNC_DIFF NO_DIFF INTRAWORD_PUNC_DIFF NO_DIFF INTRAWORD_PUNC_DIFF CASE_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF NO_DIFF UNKNOWN_TYPE_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF CASE_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF UNKNOWN_TYPE_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF CASE_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF UNKNOWN_TYPE_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF UNKNOWN_TYPE_DIFF PUNCUATION_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF NO_DIFF