Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
If your input is "Korea", should you get "Democratic People's Republic of Korea" or "Republic of Korea"? If your input is "of", what result will you get?
I thought all our tests about country names would be exactly the same as in the dataset. Testing ...
Hi Michael,
According to the given definition in the assignment,
"A word-pair is two or more simple words separated by hyphens with no spaces around them."
and
"A contraction is a simple word followed by an apostrophe, followed by other alphabetics."
"p...
Isn't this more work to do? While identifying the elements (word, comma, etc.), it is possible to count them at the same time. I don't understand what the benefit of implementing tokens is.
Hi Michael,
The requirement of code efficiency is pretty vague to me. What is considered inefficient? For sure reading the same file multiple times is. But if you read the file once and then perform similar operations on it multiple times (like greppi...
Hi everyone,
I get 321 words for sample2, and 688 words for Children of the Bush sample, while in Michael's examples, the words are 320 and 684 respectively. I checked my result by copying these samples into a text editing software with word counting ...
Hi Michael,
I just noticed that "dot(full-stop)" is included in the requirement of the profile, but is not shown in the samples. I'm not sure if this is a "problem", but I'd like to compare my result with the one from the samples.
Cheers