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', 'think', 'that', 'at', 'the', 'time', 'Catwoman', 'had', 'a', 'really', 'cool', 'pair', 'of', 'glasses', 'in', 'the', 'Batman', 'series', 'that', 'was', 'on', 'television', 'and', 'I', 'wanted', 'to', 'be', 'cool', 'like', 'her', 'it', "didn't", 'occur', 'to', 'me', 'that', 'glasses', 'were', 'really', 'a', 'medical', 'device', 'when', 'light', 'rays', 'reflect', 'off', 'an', 'object', 'and', 'enter', 'the', 'eye', 'through', 'the', 'cornea', 'your', 'retina', 'converts', 'this', 'light', 'into', 'electrical', 'impulses', 'that', 'are', 'sent', 'to', 'the', 'brain', 'which', 'interprets', 'thetan', 'pulses', 'and', 'allows', 'you', 'to', 'understand', 'what', "you're", 'seeing', 'eye', 'glasses', 'help', 'you', 'see', 'the', 'earliest', 'forms', 'of', 'eye', 'gear', 'can', 'be', 'traced', 'back', '4,000', 'years']
Solution:
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 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 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 PUNCUATION_DIFF NO_DIFF NO_DIFF UNKNOWN_TYPE_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 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