[REBOL] Re: Frequency of phrases
From: chalz:earthlink at: 23-Aug-2002 0:37
> Phrase: A phrase will be defined as a string len characters long and with a
> space at each end. All phrases 100 characters long are to be processed
> first, then all phrases of length len - 1 and so on until len = 5.
My apologies, but what about a phrase such as:
This is a phrase.<cr>
There is no whitespace at beginning or end.
> The text file: To simplify things, manually place a space at the beginning
> and at the end of the file to be processed. To further simplify things,
> place a space before all punctuation marks.
Eek. Or possibly allow for cases to accept punctuation, so long as there is
no other printable non-whitespace character afterwards? For instance, accept:
This is a phrase. This too is a phrase.<cr>
... As two phrases. However, do not end with the dot here as a phrase
ending:
This phrase mentions index.html.<cr>
Yes?
--Charles