Calculate the overall sentiment score for each file


Problem

Code needs to be reusable and in proper function format.

I. Calculate the overall sentiment score for each file and list the filename with corresponding scores:

i. tokenize sentences,
ii. use SentimentIntensityAnalyzer() to compute each sentence sentiment using compound, and
iii. then use a certain statistic function to get an overall score.
iv. program a function to get sentiment for each text.

II. Rank the overall sentiment score for each file from the positive score to the negative score. Print all the filenames with corresponding scores.

III. Program should be robust and able to dynamically process any number of files as inputs to generate sentiment values for each file and then automatically rank all of them.

IV. Briefly describe what you can find from the results.

i. Double check each overall score if they make sense for each poem based on your understanding for the poem.
ii. Briefly explain the statistical methods you choose to get an overall sentiment score are feasible.
iii. Briefly describe more possible extended applications based on this problem.

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Calculate the overall sentiment score for each file
Reference No:- TGS03268341

Expected delivery within 24 Hours