Question: Using Python!! preferred: python 3.5.1 You are to create a program that analyzes a text file and produces the following statistics: number of words any

Using Python!! preferred: python 3.5.1

You are to create a program that analyzes a text file and produces the following statistics:

number of words any sequence of alphanumeric characters (length >= 1) with the beginning and ending non-alphanumeric character removed counts as a word

number of sentences any sequence of words ending in a period, question mark, exclamation point, or semicolon

text's vocabulary all words of length 3 or more appearing in a file other than the, and; the vocabulary should not contain duplicate words regardless of their capitalization (i.e. home andHome are considered to be the same word)

P.S

please don't post if the program doesn't work

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!