A document is represented as a collection paragraphs, a paragraph is represented as a collection of sentences, a sentence is represented as a collection of words and a word is represented as a collection of lower-case ([a-z]) and upper-case ([A-Z]) English characters.
You will convert a raw text document into its component paragraphs, sentences and words. To test your results, queries will ask you to return a specific paragraph, sentence or word as described below.
Alicia is studying the C programming language at the University of Dunkirk and she represents the words, sentences, paragraphs, and documents using pointers:
- A word is described by .
- A sentence is described by . The words in the sentence are separated by one space (" "). The last word does not end with a space(" ").
- A paragraph is described by . The sentences in the paragraph are separated by one period (".").
Sample Input 0
Sample Output 0
Explanation 0
Test