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: ['', 'Jude', 'was', 'curious', 'if', 'the', 'automated', 'machine', 'at', 'his', 'restaurant', 'was', 'filling', 'drinks', 'with', 'the', 'proper', 'amount', 'he', 'filled', 'a', 'sample', 'of', '20', 'drinks', 'to', 'test', 'his', 'null', 'hypothesis', 'which', 'is', 'the', 'actual', 'population', 'mean', 'for', 'how', 'much', 'drink', 'there', 'was', 'and', 'in', 'the', 'drinks', 'per', 'drink', 'is', '530', 'millilitres', 'versus', 'his', 'alternative', 'hypothesis', 'is', 'that', 'the', 'population', 'mean', 'is', 'not', '530', 'millilitres', 'where', 'mu', 'is', 'the', 'mean', 'filling', 'amount', 'the', 'drinks', 'in', 'the', 'sample', 'contained', 'a', 'mean', 'amount', 'of', '528', 'millilitres', 'with', 'a', 'standard', 'deviation', 'of', '4', 'milliliters', 'these', 'results', 'produced', 'a', 'test', 'statistic', 'of', 'T', 'is', 'equal']
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 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 PUNCUATION_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF UNKNOWN_TYPE_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 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 NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF UNKNOWN_TYPE_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF DIGIT_DIFF PUNCUATION_DIFF CASE_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF CASE_DIFF NO_DIFF NO_DIFF