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: ['a', 'gym', 'that', 'specializes', 'in', 'weight', 'loss', 'offers', 'its', 'members', 'an', 'optional', 'dietary', 'program', 'for', 'an', 'extra', 'fee', 'to', 'study', 'the', 'effectiveness', 'of', 'the', 'dietary', 'program', 'a', 'manager', 'at', 'the', 'gym', 'takes', 'a', 'random', 'sample', 'of', '50', 'members', 'who', 'participate', 'in', 'the', 'dietary', 'program', 'and', '50', 'members', 'who', "don't", 'the', 'manager', 'finds', 'that', 'those', 'who', 'participated', 'in', 'the', 'dietary', 'program', 'on', 'average', 'lost', 'significantly', 'more', 'weight', 'than', 'those', 'who', "didn't", 'participate', 'in', 'the', 'program', 'in', 'the', 'past', 'three', 'months', 'the', 'manager', 'concludes', 'that', 'the', 'dietary', 'program', 'caused', 'the', 'increased', 'weight', 'loss', 'for', 'the', 'gyms', 'members', 'during', 'that', 'time', 'period', 'so']
Output:
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 CASE_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 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 NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_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 PUNCUATION_DIFF CASE_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 STEM_BASED_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF CASE_DIFF