That's a very edgy sentence, with whitespace before the dot instead of after it. Depending on the definition of a word there could be multiple interpretations to it. (And then you might have dots inside a word, etc etc. It goes on to show that you either need a full spec, or you don't want to touch this can of worms at all.)
Also, are words supposed to contain digits? If so you need to specify that. (Also for mixed case characters, but at least that's reasonable.)
From random tests:
5rhmxj .5rhmxj .5rhmxj .5rhmxj .5rhmxj .5rhmxj .
That's a very edgy sentence, with whitespace before the dot instead of after it. Depending on the definition of a
word
there could be multiple interpretations to it. (And then you might have dots inside a word, etc etc. It goes on to show that you either need a full spec, or you don't want to touch this can of worms at all.)Also, are words supposed to contain digits? If so you need to specify that. (Also for mixed case characters, but at least that's reasonable.)
How about the spaces before "!" in "Encore!" and "?" in "Parlez-vous français?"?