The assignment is to develop students' capabilities in applying programming skills to information extraction and sentiment analysis. The project consists of 10 tasks that involve downloading text files, extracting words, calculating word frequencies, sorting words, and displaying results in the console.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
roject [100 points]Due on 11.20 at 11:55pm Instructor's Comments: The project is designed to develop stduents' capabilities apply the programming skills to do oinformation extraction osentiment analysis Now, let us break the problem into 10 parts. Task 1 [5 points]: Download and readmoviereview.txtinto your computer. Task 2 [5 points]: Extract all words in moviereview.txt. Task 3 [5 points]: Lowercase all words. Task 4 [15 points]: Calculate word frequence (i.e., how many times each word apprears in moviewreview.txt) Task 5 [15 points]: Based on the word frequence you calculate in Task4, sort the words in a descending order and display the top 5 words and their frequence in the console by following the format below.The output below is not the answer. Top 5wordsin moviereview.txt, organizedin adescending order: and appears100 times filmappears 40 times thatappears 34 times is appear 33 times are appears30 times Task 6 [5 points]: Download and readpositive.txtinto your computer. Task 7 [5 points]: Extract all words in positive.txt. Task 8 [5 points]: Lowercase all words. Task 9 [15 points]: Calculate word frequence (i.e., how many times each word in positive.txt appears in moviereview.txt) Task 10 [15 points]: Based on the word frequence you calculate in Task 9, sort the words in a descending order and display the words with frequence greater than 5 in the console by following the format below.The output below is not the answer. Wordsin positive.txt that appear greaterthan5 times in moviereview.txt, organized in a descending order: satisfy appears 10 times magical appears 9times greatappears 7 times sweetappear 7 times
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
particularappears 6 times Code Documention [10 points]: The documentation should include oThe problem the code is designed to solve oProgrammer information (Name, email, etc.) oDate oComments for each line of your code Please submit the following documents to the Dropbox in iCollege: Document 1 includes your source code (project.java)[A tutorial of how to locate a Java source code] Document 2 includes three screenshots of your console: oTask 5 oTask 10 Document 3 (optional): You may also want to submit a Word document that elaborates any challenge you face while finishing the assignment and how you overcome the challenge. Hints See the solution of assignment 3 for task 1, 2, 6, 7 See Lecture 5 Demo 3 for task 3, 8 See Assignment 3, Lecture 10 Demo 1 for task 4, 5, 9,10