Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

WANT A PYTHON CODE FOR MY TEXT ANALYSIS (BOOK).. REQUIREMENTS ARE GIVEN. : Processing . Output Must be able to process a text file as

WANT A PYTHON CODE FOR MY TEXT ANALYSIS (BOOK).. REQUIREMENTS ARE GIVEN.image text in transcribed

: Processing . Output Must be able to process a text file as input: Must be able to count the: o total # of words o total # of occurrences for each word. o total # of characters in the text document. o total # of blank spaces in the text document. Must be able to calculate the percentage of blank spaces as: o total # of blank spaces divided by total # of characters, multiplied by 100. Must implement exception handling in two areas: when opening the text file for reading and, when writing the output file. Must create an output text file for the chosen text formatted to the client's requirements named "-PartAAnalysis.txt". Must advise the user when: processing has completed AND the name/location of the output file. Must advise the user when: o an exception has occurred AND o the type of exception Text analysis output must be clear and easy to read Must include appropriate headers and data for: Name of text: Total Non-blank Character Count: Total Blank Character Count: . O O . Client Text Format Requirement o O Percentage Blank Character: Total Word Count: Word, Count: (each word and count is on a separate line) Les Miserables.txt CST2101_Project_1.pdf TaleOfTwoCities.txt E3 (1) (3).pdf Show all x

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Publishing With Filemaker Pro On The Web

Authors: Maria Langer

1st Edition

0201696657, 978-0201696653

More Books

Students also viewed these Databases questions

Question

What were the issues and solutions proposed by each team?

Answered: 1 week ago

Question

Were all members comfortable brainstorming in front of each other?

Answered: 1 week ago

Question

5. What information would the team members need?

Answered: 1 week ago