You will be given a definition of a task first, then some input of the task.
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.

['you', 'on', 'the', 'first', 'day', 'of', 'Christmas', 'my', 'true', 'love', 'gave', 'to', 'me', 'the', 'multiplicative', 'identity', 'I', 'always', 'hated', 'the', 'song', 'the', 'twelve', 'days', 'of', 'Christmas', 'when', 'I', 'was', 'younger', 'not', 'that', 'the', 'tuner', 'the', 'words', 'are', 'any', 'worse', 'than', 'any', 'other', 'Christmas', 'song', 'but', "it's", 'just', 'so', 'long', 'and', 'repetitive', 'singing', 'it', 'sucks', 'too', 'because', 'like', 'math', 'class', 'it', 'seems', 'no', 'matter', 'how', 'hard', 'you', 'try', 'to', 'pay', 'attention', 'you', 'lose', 'focus', 'out', 'of', 'the', 'sheer', 'tedium', 'of', 'it', 'all', 'and', 'forget', 'where', 'you', 'are', 'unless', 'you', 'keep', 'vigorous', 'records', 'by', 'drawing', 'complicated', 'graphs', 'on', 'the', 'second', 'day', 'of']
Output:
[SINGING] On the first day of Christmas, my true love gave to me, the multiplicative identity. I always hated the song the "12 days of Christmas" when I was younger. Not that the tuner the words are any worse than any other Christmas song, but it's just so long and repetitive. Singing it sucks too, because like math class, it seems no matter how hard you try to pay attention, you lose focus out of the sheer tedium of it all and forget where you are. Unless you keep vigorous records by drawing complicated graphs on the second day of