by oconnor0 · 14y ago · 0 comments
Let's agree that a word is a sequence of one or more contiguous letters; "Bentley" is a word, but "ain't" isn't. The sequence of letters should be maximal, in the sense that it cannot be lengthened without including a nonletter.
I suppose then the problem would be counting "can't" as a "can" and a "not".
Bug-free seems a bit of a strong claim either way, good catch ;)
> In particular the isolation of words, the handling of punctuation, and the treatment of case distinctions are built in.