Question: C programming 8.3 (Text Analysis) The availability of computers with string-manipulation capabilities has re sulted in some rather interesting approaches to analyzing the writings of
C programming

8.3 (Text Analysis) The availability of computers with string-manipulation capabilities has re sulted in some rather interesting approaches to analyzing the writings of great authors. Much atten- tion has been focused on whether William Shakespeare ever lived. Some scholars find substantial evidence that Christopher Marlowe actually penned the masterpieces attributed to Shakespeare. Re- searchers have used computers to find similaritics in the writings of these two authors. This exercise examines three methods for analyzing texts with a compurt a) Write a program that reads several lines of text and prints a table indicating the number of occurrences of each letter of the alphabet in the text. For example, the phrase To be, or not to be: that is the question: contains one a," two) b's," no c's," and so on. Write a program that reads several lines of text and prints a table indicating the number' of one-letter words, two-letter words, three-letter words, and so on, appearing in thoe text. For example, the phrase b) Whether'tis nobler in the mind to suffer contains Word lengthOccurrences 2 2 (including tis)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
