Detailed 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)].
Problem:['', "I'm", 'doing', 'this', 'videos', 'give', 'us', 'an', 'overview', 'of', 'the', 'first', 'significant', 'dynasties', 'in', 'ancient', 'and', 'Imperial', 'China', 'now', 'in', 'a', 'previous', 'video', 'we', 'talked', 'about', 'the', 'Shia', 'dynasty', 'which', 'were', 'not', 'sure', 'whether', 'it', 'exists', 'because', 'we', "don't", 'have', 'a', 'lot', 'of', 'historical', 'documentation', 'but', 'based', 'on', 'legend', 'it', 'apparently', 'emerged', 'around', '2100', '2200', 'BCE', 'so', "we're", 'talking', 'about', 'over', '4000', 'years', 'ago', 'and', 'lasted', 'until', 'the', 'emergence', 'of', 'the', 'Shang', 'Dynasty', 'in', '1600', 'BCE', 'now', 'the', 'Shang', 'Dynasty', 'you', 'could', 'view', '', 'the', 'first', 'real', 'historical', 'dynasty', 'because', 'we', 'have', 'artifacts', 'we', 'have', 'archaeological', 'evidence', 'we', 'even']
Solution:
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 CASE_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF CASE_AND_PUNCUATION_DIFF NO_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF NO_DIFF STEM_BASED_DIFF NO_DIFF NO_DIFF UNKNOWN_TYPE_DIFF PUNCUATION_DIFF NO_DIFF INTRAWORD_PUNC_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 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 PUNCUATION_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF CASE_DIFF NO_DIFF NO_DIFF PUNCUATION_DIFF CASE_AND_PUNCUATION_DIFF NO_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 PUNCUATION_DIFF NO_DIFF NO_DIFF UNKNOWN_TYPE_DIFF PUNCUATION_DIFF NO_DIFF NO_DIFF