Can someone help: Use Python to count the number of words and mean length of words in each sentence of a text file as input : I cannot use NLTK or Regex :(
The sentence in the file ends with a period, exclamation point, or question mark. A hyphen, dash, or apostrophe does not end a sentence. Quotation marks do not end a sentence. But also, some periods do not end sentences. For example, Mrs., Mr., Dr., Fr., Jr., St., are all commonly occurring abbreviations.