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: ['consider', 'the', 'following', 'imagine', 'two', 'rooms', 'inside', 'each', 'room', 'is', 'a', 'switch', 'in', 'one', 'room', 'there', 'is', 'a', 'man', 'who', 'flips', 'his', 'switch', 'according', 'to', 'a', 'coin', 'flip', 'if', 'he', 'lands', 'heads', 'the', 'switch', 'is', 'on', 'if', 'he', 'lands', 'tails', 'the', 'switch', 'is', 'off', 'in', 'the', 'other', 'room', 'a', 'woman', 'switches', 'her', 'light', 'based', 'on', 'a', 'blind', 'guess', 'she', 'tries', 'to', 'simulate', 'randomness', 'without', 'a', 'coin', 'then', 'we', 'start', 'a', 'clock', 'and', 'they', 'make', 'their', 'switches', 'in', 'unison', 'can', 'you', 'determine', 'which', 'lightbulb', 'is', 'being', 'switched', 'by', 'a', 'coin', 'flip', 'the', 'answer', 'is', 'yes', 'but', 'how', 'the', 'trick', 'is', 'to']
Output:
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 PUNCUATION_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF CASE_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF CASE_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF CASE_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF NO_DIFF NO_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 PUNCUATION_DIFF CASE_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF