Question: python only Design a class named VowelAnalysis which represents an analysis of vowels in a sentence. The VowelAnalysis class contains the following: - A data

python only python only Design a class named VowelAnalysis which represents an analysis

Design a class named VowelAnalysis which represents an analysis of vowels in a sentence. The VowelAnalysis class contains the following: - A data field (or attribute) named text that defines a line of text converted to lowercase. Note: you can assume that the line of text is plain text without any punctuation marks. The text contains 1 or more words and each word is separated by a single space. - A data field (or attribute) named vowels_count_dict that defines a dictionary that contains the number of each of the vowels in the text. - A constructor/initializer that takes a line of text as a parameter, converted it to lowercase and creates a vowel analysis object. The default valin empty string. The initializer should count the number of each vowel (i.e. a,e,i,o and u ) and set up the above the vowels_count dictionary. Submit the entire class definition. Note - keep a copy of your solution to this task because you will be extending it step by step in subsequent tasks

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!