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:['the', 'history', 'of', 'the', 'jewish', 'people', 'goes', 'back', 'roughly', '4', '000', 'years', 'but', 'in', 'order', 'to', 'understand', 'the', 'the', 'desire', 'by', 'jewish', 'people', 'in', 'the', 'late', '1800s', 'and', 'early', '1900s', 'for', 'jewish', 'homeland', 'we', 'have', 'to', 'go', 'back', 'roughly', '17', 'or', '1800', 'years', 'to', 'the', 'year', '135', '135', 'in', 'the', 'common', 'era', 'and', 'it', 'was', 'then', 'that', 'judea', 'was', 'a', 'province', 'of', 'the', 'roman', 'empire', 'judea', 'is', 'the', 'biblical', 'home', 'of', 'the', 'jewish', 'people', "it's", 'the', 'location', 'of', 'jerusalem', 'and', 'in', '135', 'of', 'the', 'common', 'era', 'the', 'roman', 'emperor', 'hadrian', 'is', 'able', 'to', 'suppress', 'a', 'rebellion', 'by', 'the', 'jews', 'in']
Solution:
CASE_DIFF NO_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 NO_DIFF NO_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 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 CASE_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF CASE_DIFF CASE_AND_PUNCUATION_DIFF CASE_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF CASE_DIFF PUNCUATION_DIFF CASE_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF NO_DIFF CASE_DIFF CASE_DIFF NO_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 CASE_DIFF NO_DIFF