Re: Word-processing challenge anyone?

epc8_at_juno.com
Date: 02/14/05


Date: 13 Feb 2005 19:40:20 -0800

William M. Klein wrote:

> My COBOL program does get 12691 for "unique" words (when I treat
hyphenated
> words as TWO separate words), However, I am only getting +789715
input words.

I have not seen your source code yet due to Google latency, but I
suspect that you are not counting the word 'book' that appears in the
first 8 columns. It appears 66 times. That added to your total gives
the correct number of total words.



Relevant Pages

  • Re: Word-processing challenge anyone?
    ... > words as TWO separate words), However, I am only getting +789715 ... input words. ... I have not seen your source code yet due to Google latency, ... the correct number of total words. ...
    (comp.lang.fortran)
  • Re: Word-processing challenge anyone?
    ... ignore them (before seeing the rule about converting numbers to spaces). ... the source code (with LOTS of extraneous ... Bill Klein ... > the correct number of total words. ...
    (comp.lang.cobol)
  • Re: Word-processing challenge anyone?
    ... ignore them (before seeing the rule about converting numbers to spaces). ... the source code (with LOTS of extraneous ... Bill Klein ... > the correct number of total words. ...
    (comp.lang.fortran)