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]: ['', 'I', 'thought', 'about', 'drawing', 'two', 'different', 'joints', 'to', 'show', 'us', 'the', 'difference', 'between', 'rheumatoid', 'and', 'osteoarthritis', 'but', 'I', 'thought', 'showing', 'it', 'on', 'the', 'same', 'picture', 'might', 'be', 'easier', 'to', 'see', 'the', 'differences', 'but', 'on', 'this', 'side', "we'll", 'keep', 'it', 'rheumatoid', 'arthritis', 'and', 'on', 'the', 'other', 'side', 'green', 'will', 'be', 'ostium', 'arthritis', "let's", 'start', 'with', 'the', 'pathophysiology', 'of', 'osteoarthritis', 'which', 'is', 'overuse', 'this', 'is', 'where', 'elderly', 'people', 'or', 'people', 'who', 'are', 'carrying', 'a', 'lot', 'of', 'extra', 'weight', 'or', 'have', 'extra', 'wear', 'and', 'tear', 'on', 'their', 'joints', 'tend', 'to', 'get', 'osteoarthritis', 'first', 'things', 'first', 'we', 'have', 'our', 'joint', 'space', 'here', 'this']
[EX A]: ['', 'I', 'thought', 'about', 'drawing', 'two', 'different', 'joints', 'to', 'show', 'us', 'the', 'difference', 'between', 'rheumatoid', 'and', 'osteoarthritis', 'but', 'I', 'thought', 'showing', 'it', 'on', 'the', 'same', 'picture', 'might', 'be', 'easier', 'to', 'see', 'the', 'differences.', 'But', 'on', 'this', 'side', "we'll", 'keep', 'it', 'rheumatoid', 'arthritis,', 'and', 'on', 'the', 'other', 'side,', 'green,', 'will', 'be', 'ostium', 'arthritis', "let's", 'start', 'with', 'the', 'pathophysiology', 'of', 'osteoarthritis', 'which', 'is', 'overuse.', 'This', 'is', 'where', 'elderly', 'people,', 'or', 'people', 'who', 'are', 'carrying', 'a', 'lot', 'of', 'extra', 'weight,', 'or', 'have', 'extra', 'wear', 'and', 'tear', 'on', 'their', 'joints', 'tend', 'to', 'get', 'osteoarthritis', 'first', "thing's", 'first,', 'we', 'have', 'our', 'joint', 'space', 'here,', 'this']

[EX Q]: ['during', 'the', 'american', 'revolution', 'everyone', 'became', 'a', 'little', 'bit', 'of', 'a', 'philosopher', 'walking', 'down', 'the', 'street', 'in', 'boston', 'past', 'coffee', 'houses', 'and', 'taverns', 'you', 'might', 'hear', 'ordinary', 'people', 'debating', 'equality', 'and', 'natural', 'rights', 'before', 'it', 'was', 'even', 'a', 'political', '', 'revolution', 'the', 'american', 'revolution', 'was', 'a', 'revolution', 'of', 'ideas', 'you', 'see', 'these', 'ideas', 'all', 'over', 'the', 'literature', 'of', 'the', 'time', 'period', 'perhaps', 'most', 'famously', 'in', 'thomas', "jefferson's", 'language', 'in', 'the', 'declaration', 'that', 'all', 'men', 'are', 'created', 'equal', 'endowed', 'with', 'certain', 'unalienable', 'rights', 'the', 'idea', 'that', 'everyone', 'has', 'the', 'natural', 'right', 'to', 'life', 'liberty', 'and', 'the', 'pursuit', 'of', 'happiness', 'you', 'would']
[EX A]: ['during', 'the', 'American', 'Revolution,', 'everyone', 'became', 'a', 'little', 'bit', 'of', 'a', 'philosopher.', 'Walking', 'down', 'the', 'street', 'in', 'Boston', 'past', 'coffee', 'houses', 'and', 'taverns,', 'you', 'might', 'hear', 'ordinary', 'people', 'debating', 'equality', 'and', 'natural', 'rights.', 'Before', 'it', 'was', 'even', 'a', 'political', '', 'revolution', 'the', 'american', 'revolution', 'was', 'a', 'revolution', 'of', 'ideas.', 'You', 'see', 'these', 'ideas', 'all', 'over', 'the', 'literature', 'of', 'the', 'time', 'period,', 'perhaps', 'most', 'famously', 'in', 'Thomas', "Jefferson's", 'language', 'in', 'the', 'Declaration', 'that', 'all', 'men', 'are', 'created', 'equal,', 'endowed', 'with', 'certain', 'unalienable', 'rights,', 'the', 'idea', 'that', 'everyone', 'has', 'the', 'natural', 'right', 'to', 'life,', 'liberty,', 'and', 'the', 'pursuit', 'of', 'happiness.', 'You', 'would']

[EX Q]: ['now', 'that', 'we', 'know', 'a', 'little', 'bit', 'about', 'lists', 'I', 'thought', 'I', 'would', 'use', 'this', 'video', 'to', 'introduce', 'you', 'to', 'loops', 'and', 'in', 'particular', 'for', 'loops', 'if', 'we', 'have', 'time', 'we', 'might', 'do', 'other', 'types', 'of', 'loops', 'but', 'before', 'we', 'even', 'do', 'that', 'I', 'want', 'to', 'introduce', 'you', 'to', 'a', 'built-in', 'Python', 'function', 'called', 'range', 'when', 'I', 'say', 'built-in', 'it', 'means', 'it', 'comes', 'with', 'Python', 'and', "it's", 'really', 'a', 'way', 'to', 'generate', 'lists', 'lists', 'that', 'have', 'integers', 'that', 'increment', 'so', 'for', 'example', 'if', 'I', 'just', 'say', 'range', 'of', '6', 'it', 'makes', 'a', 'list', 'it', 'generates', 'a', 'list', 'from', '0', 'through']
[EX A]:
Now that we know a little bit about lists, I thought I would use this video to introduce you to loops, and in particular for loops if we have time, we might do other types of loops. But before we even do that, I want to introduce you to a built-in Python function called Ranger. When I say built-in, it means it comes with Python. And it's really a way to generate lists lists that have integers that increment. So for example, if I just say, range of 6 it makes a list it generates a list from 0 through