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: ['before', 'we', 'get', 'into', 'the', 'meat', 'of', 'algebra', 'i', 'wanted', 'to', 'give', 'you', 'a', 'quote', 'from', 'one', 'of', 'the', 'greatest', 'minds', 'in', 'human', 'history', 'galileo', 'galilei', 'because', 'i', 'think', 'this', 'quote', 'encapsulates', 'the', 'true', 'point', 'of', 'algebra', 'and', 'really', 'mathematics', 'in', 'general', 'he', 'said', 'philosophy', 'is', 'written', 'in', 'that', 'great', 'book', 'whichever', 'lies', 'before', 'our', 'eyes', 'i', 'mean', 'the', 'universe', 'but', 'we', 'cannot', 'understand', 'it', 'if', 'we', 'do', 'not', 'first', 'learn', 'the', 'language', 'and', 'grasp', 'the', 'symbols', 'in', 'which', 'it', 'is', 'written', 'this', 'book', 'is', 'written', 'in', 'the', 'mathematical', 'language', 'without', 'which', 'one', 'wanders', 'in', 'vain', 'through', 'a', 'dark', 'labyrinth']
Output:
CASE_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 NO_DIFF PUNCUATION_DIFF CASE_DIFF CASE_AND_PUNCUATION_DIFF NO_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 PUNCUATION_DIFF CASE_DIFF PUNCUATION_DIFF CASE_AND_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 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 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 PUNCUATION_DIFF