You will be given a definition of a task first, then some input of the task.
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)].

['most', 'people', 'when', 'they', 'come', 'upon', 'the', 'gallery', 'I', 'think', 'a', 'rather', 'surprised', 'that', 'these', 'little', 'books', 'were', 'even', 'important', 'objects', 'or', 'that', 'they', 'could', 'be', 'so', 'finely', 'and', 'so', 'splendidly', 'painted', 'people', 'often', "don't", 'realize', 'that', 'the', 'greatest', 'artists', 'the', 'finest', 'artists', 'of', 'the', 'Middle', 'Ages', 'and', 'the', 'Renaissance', 'illuminated', 'manuscripts', 'they', 'were', 'a', 'primary', 'art', 'form', 'not', 'a', 'minor', 'or', 'decorative', 'art', 'form', 'and', 'the', 'earliest', 'great', 'lumen', 'ated', 'manuscripts', 'were', 'of', 'liturgical', 'use', 'they', 'were', 'used', 'in', 'the', 'celebration', 'of', 'the', 'divine', 'services', 'there', 'are', 'books', 'that', 'were', 'written', 'by', 'hand', 'and', 'painted', 'by', 'hand', 'and', 'painted']
Output:
NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF NO_DIFF PUNCUATION_DIFF UNKNOWN_TYPE_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 PUNCUATION_DIFF CASE_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF NO_DIFF NO_DIFF PUNCUATION_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 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 PUNCUATION_DIFF CASE_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF UNKNOWN_TYPE_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