Question: Needs to be written in C program only and i need the solution of question A,B,C 8.31 (Text Analysis) The availability of computers with string-manipulation


Needs to be written in C program only and i need the solution of question A,B,C
8.31 (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 masterpieces attributed to Shakespeare. Re- searchers have used computers to find similarities in the writings of these two authors. This exercise evidence that Christopher Marlowe actually penned the examines three methods for analyzing texts with a computer 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 the b) text. For example, the phrase Whether 'tis nobler in the mind to suffer contain Word length Occurrences 2 (including tis) 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
