In this task, you are given an input stream, and your task is to produce a grammatically correct version of the input sentence. 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 grammatically correct version of the input stream. Stream words are in [] and have been separated with a comma. The sentence can contain words that have case, punctuation, stem-based, intra-word, and digit punctuation errors that need to be corrected. For example, the text should be uppercased/lowercased as per necessity (like the beginning of a sentence, proper nouns, etc.), and digits need to be normalized (6 as six and so on). Note that you don't need to normalize the years. You don't need to fully edit the sentences, if end of the input stream contains sentence fragments, keep them as is.

[EX Q]: ['now', 'that', 'we', 'know', 'how', 'to', 'assign', 'oxidation', 'states', 'to', 'carbon', "let's", 'look', 'at', 'some', 'organic', 'redox', 'reactions', 'and', 'remember', 'these', 'definitions', 'from', 'general', 'chemistry', 'oxidation', 'involves', 'an', 'increase', 'in', 'the', 'oxidation', 'state', 'and', 'reduction', 'involves', 'a', 'decrease', 'or', 'a', 'reduction', 'in', 'the', 'oxidation', 'state', 'you', 'might', 'also', 'remember', 'that', 'loss', 'of', 'electrons', 'is', 'oxidation', 'and', 'gain', 'of', 'electrons', 'is', 'reduction', 'so', 'Leo', 'the', 'Lion', 'goes', 'ger', 'is', 'a', 'good', 'way', 'to', 'remember', 'that', "let's", 'look', 'at', 'this', 'starting', 'compound', 'here', 'in', 'this', 'reaction', 'and', "let's", 'figure', 'out', 'whether', 'the', 'starting', 'compound', 'has', 'been', 'oxidized', 'reduced', 'or', 'neither', 'if', 'you']
[EX A]: ['now', 'that', 'we', 'know', 'how', 'to', 'assign', 'oxidation', 'states', 'to', 'Carbon', "let's", 'look', 'at', 'some', 'organic', 'redox', 'reactions,', 'and', 'remember', 'these', 'definition', 'from', 'general', 'chemistry.', 'Oxidation', 'involves', 'an', 'increase', 'in', 'the', 'oxidation', 'state', 'and', 'reduction', 'involves', 'a', 'decrease', 'or', 'a', 'reduction', 'in', 'the', 'oxidation', 'state.', 'You', 'might', 'also', 'remember', 'that', 'loss', 'of', 'electrons', 'is', 'oxidation', 'and', 'gain', 'of', 'electrons', 'is', 'reduction.', 'So,', 'LEO', 'the', 'lion', 'goes', 'GER', 'as', 'a', 'good', 'way', 'to', 'remember', 'that.', "Let's", 'look', 'at', 'this', 'starting', 'compound', 'here', 'and', 'this', 'reaction,', 'and', "let's", 'figure', 'out', 'whether', 'the', 'starting', 'compound', 'has', 'been', 'oxidized,', 'reduced,', 'or', 'neither.', 'If', 'you']

[EX Q]: ['in', 'this', 'video', "we're", 'going', 'to', 'talk', 'about', 'how', 'people', 'can', 'interact', 'with', 'influence', 'and', 'participate', 'in', 'society', 'when', 'you', 'do', 'so', "you're", 'participating', 'in', 'civic', 'life', 'which', 'is', 'distinct', 'from', 'your', 'private', 'life', 'private', 'life', 'includes', 'all', 'the', 'ways', 'that', 'you', 'pursue', 'happiness', 'through', 'relationships', 'hobbies', 'or', 'your', 'job', 'that', 'is', 'if', "you're", 'not', 'a', 'member', 'of', 'government', 'civic', 'life', 'includes', 'all', 'the', 'ways', 'that', 'you', 'might', 'take', 'part', 'in', 'solving', 'the', 'problems', 'of', 'your', 'community', 'whether', "that's", 'by', 'volunteering', 'in', 'civil', 'society', 'making', 'rules', 'or', 'laws', 'or', 'serving', 'in', 'a', 'government', 'body', 'whether', "that's", 'the', 'school', 'council', 'or']
[EX A]: ['in', 'this', 'video,', "we're", 'going', 'to', 'talk', 'about', 'how', 'people', 'can', 'interact', 'with,', 'influence,', 'and', 'participate', 'in', 'society.', 'When', 'you', 'do', 'so,', "you're", 'participating', 'in', 'civic', 'life,', 'which', 'is', 'distinct', 'from', 'your', 'private', 'life.', 'Private', 'life', 'includes', 'all', 'the', 'ways', 'that', 'you', 'pursue', 'happiness', 'through', 'relationships,', 'hobbies,', 'or', 'your', 'job,', 'that', 'is,', 'if', "you're", 'not', 'a', 'member', 'of', 'government.', 'Civic', 'life', 'includes', 'all', 'the', 'ways', 'that', 'you', 'might', 'take', 'part', 'in', 'solving', 'the', 'problems', 'of', 'your', 'community,', 'whether', "that's", 'by', 'volunteering', 'in', 'civil', 'society,', 'making', 'rules', 'or', 'laws,', 'or', 'serving', 'in', 'a', 'government', 'body,', 'whether', "that's", 'the', 'school', 'council', 'or']

[EX Q]: ['welcome', 'to', 'lecture', '15', 'of', 'advanced', 'robotics', "we're", 'gonna', 'cover', 'hominid', 'piece', 'partially', 'observable', 'Markov', 'decision', 'processes', 'today', "we're", 'actually', 'still', 'had', 'a', 'little', 'bit', 'to', 'cover', 'from', 'lecture', '13', 'we', 'saw', 'maximum', 'likelihood', 'but', 'we', "didn't", 'yet', 'cover', 'expectation-maximization', 'so', "I'm", 'going', 'to', 'switch', 'out', 'of', 'this', 'and', 'switch', 'to', 'the', 'lecture', '13', 'last', 'section', 'of', 'lecture', 'expectation-maximization', 'so', 'what', 'are', 'we', 'cover', 'in', 'lecture', '13', 'that', 'directly', 'ties', 'into', 'so', "we've", 'covered', 'maximum', 'likelihood', 'and', 'the', 'idea', 'was', 'that', 'they', 'try', 'to', 'find', 'the', 'parameters', 'of', 'your', 'probability', 'distribution', 'such', 'that', 'under', 'those', 'parameters', 'the', 'data', 'you', 'collected']
[EX A]:
welcome to lecture 15 of Advanced Robotics. We're gonna cover hominid piece partially observable Markov Decision Processes today. We actually still had a little bit to cover from lecture 13, with some maximum likelihood, but we didn't yet cover expectation-maximization so I'm going to switch out of this, and switch to the lecture 13, last section of lecture expectation-maximization so what did we cover in lecture 13 that directly ties into so we've covered maximum likelihood. And the idea was then to try to find the parameters of your probability distribution, such that, under those parameters, the data you collected