Example output for CS303e Summer 2020 Assignment 10, Movie Sentiments. Give the same inputs, your output shall match the following output exactly. The output does not include the lines with ##### before and after the output. Those lines are to delineate the required output. I strongly recommend you check your output against the expected output using a diff tool such as https://www.diffchecker.com/. Example 1 - Inputs: movie_50.txt, 1, BAD, 1, bad, 1, good, 1, good_and_bad, 1, Great, 1, the, 3, 4 ##### Welcome to the movie sentiment program. Enter a word to see the average rating of movies with that word. Enter file name with reviews: movie_50.txt OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: BAD BAD appeared in 3 reviews. Average review score = 1.0 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: bad bad appeared in 3 reviews. Average review score = 1.0 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: good good appeared in 3 reviews. Average review score = 2.3333333333333335 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: good_and_bad good_and_bad did not appear in any reviews OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: Great Great appeared in 2 reviews. Average review score = 3.0 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: the the appeared in 84 reviews. Average review score = 1.9523809523809523 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 3 Longest review has 49 words. Review as list: ['it', "'s", 'too', 'harsh', 'to', 'work', 'as', 'a', 'piece', 'of', 'storytelling', ',', 'but', 'as', 'an', 'intellectual', 'exercise', '--', 'an', 'unpleasant', 'debate', 'that', "'s", 'been', 'given', 'the', 'drive', 'of', 'a', 'narrative', 'and', 'that', "'s", 'been', 'acted', 'out', '--', 'the', 'believer', 'is', 'nothing', 'less', 'than', 'a', 'provocative', 'piece', 'of', 'work', '.'] OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 4 ##### Example 2 - Inputs: movie_3.txt, 1, bad, 1, Great, 1, Great!, 1, wonderful1, 1, wonderful., 1, wonderful, 2, words_1.txt, 3, 4 #####Welcome to the movie sentiment program. Enter a word to see the average rating of movies with that word. Enter file name with reviews: movie_3.txt OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: bad bad appeared in 44 reviews. Average review score = 0.9772727272727273 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: Great Great appeared in 40 reviews. Average review score = 2.275 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: Great! Great! did not appear in any reviews OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: wonderful1 wonderful1 did not appear in any reviews OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: wonderful. wonderful. did not appear in any reviews OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: wonderful wonderful appeared in 9 reviews. Average review score = 3.6666666666666665 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 2 Enter file name with words to check: words_1.txt Word number 1 is 'good'. Results: good appeared in 84 reviews. Average review score = 2.261904761904762 Word number 2 is 'bad'. Results: bad appeared in 44 reviews. Average review score = 0.9772727272727273 Word number 3 is 'BAD'. Results: BAD appeared in 44 reviews. Average review score = 0.9772727272727273 Word number 4 is 'great'. Results: great appeared in 40 reviews. Average review score = 2.275 Word number 5 is 'Horrible'. Results: Horrible appeared in 4 reviews. Average review score = 0.5 Word number 6 is 'REALLY'. Results: REALLY appeared in 45 reviews. Average review score = 1.7777777777777777 Word number 7 is 'super'. Results: super appeared in 1 review. Average review score = 4.0 Word number 8 is 'okay'. Results: okay did not appear in any reviews Word number 9 is '1'. Results: 1 appeared in 2 reviews. Average review score = 2.5 Word number 10 is 'million'. Results: million appeared in 2 reviews. Average review score = 2.5 Word number 11 is '30'. Results: 30 did not appear in any reviews Word number 12 is 'worst'. Results: worst appeared in 15 reviews. Average review score = 1.1333333333333333 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 3 Longest review has 52 words. Review as list: ['it', 'cuts', 'to', 'the', 'core', 'of', 'what', 'it', 'actually', 'means', 'to', 'face', 'your', 'fears', ',', 'to', 'be', 'a', 'girl', 'in', 'a', 'world', 'of', 'boys', ',', 'to', 'be', 'a', 'boy', 'truly', 'in', 'love', 'with', 'a', 'girl', ',', 'and', 'to', 'ride', 'the', 'big', 'metaphorical', 'wave', 'that', 'is', 'life', '--', 'wherever', 'it', 'takes', 'you', '.'] OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 4 ##### Example 3 - Inputs: movie_3.txt, 1, !, 1, ., 1, 2, 1, 3, 1, 4, 1, 10, 1, 20, 1, ?, 4 ##### Welcome to the movie sentiment program. Enter a word to see the average rating of movies with that word. Enter file name with reviews: movie_3.txt OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: ! ! appeared in 30 reviews. Average review score = 2.2 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: . . appeared in 2709 reviews. Average review score = 2.0867478774455517 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: 2 2 appeared in 8 reviews. Average review score = 2.625 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: 3 3 appeared in 2 reviews. Average review score = 2.5 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: 4 4 appeared in 1 review. Average review score = 3.0 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: 10 10 appeared in 4 reviews. Average review score = 1.0 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: 20 20 appeared in 4 reviews. Average review score = 1.0 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 1 Enter the word to search for: ? ? appeared in 51 reviews. Average review score = 1.3333333333333333 OPTIONS: 1. See average rating for a word. 2. Show average reviews for all words in a file. 3. See the longest review. Anything else to quit. Please enter your choice: 4 #####