Re: Word-processing challenge anyone?
From: William M. Klein (wmklein_at_nospam.netcom.com)
Date: 02/14/05
- Next message: Richard: "Re: Cross-language challenge (of POSSIBLE interest)"
- Previous message: William M. Klein: "Re: Word-processing challenge anyone?"
- In reply to: William M. Klein: "Re: Word-processing challenge anyone?"
- Next in thread: epc8_at_juno.com: "Re: Word-processing challenge anyone?"
- Reply: epc8_at_juno.com: "Re: Word-processing challenge anyone?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 14 Feb 2005 00:14:16 GMT
OOPS - my mistake (on questions 1 and 2) - I just noticed the requirement to
convert numbers to spaces (before counting)
I still need to find out about hyphenated words.
-- Bill Klein wmklein <at> ix.netcom.com "William M. Klein" <wmklein@nospam.netcom.com> wrote in message news:KRRPd.1791168$B07.270156@news.easynews.com... > More "specification" clarification needed. > > 1) Am I correct that you are ignoring (in your "words" the "00n : 00n" in > columns 1-7 (i.e. chapter and verse information) > > 2) Do you want to count "1" in "1 Samuel" and "2" in "2 Samuel" (etc) as > words? > > 3) Are you treating hyphenated words as a single word, e.g. > "BRICK-KILN" as one or two words in the line > > "IRON AND MADE THEM PASS THROUGH THE BRICK-KILN AND THUS DID " > > -- > Bill Klein > wmklein <at> ix.netcom.com > "William M. Klein" <wmklein@nospam.netcom.com> wrote in message > news:XFQPd.1786116$B07.269262@news.easynews.com... >> >> "David Frank" <dave_frank@hotmail.com> wrote in message >> news:420f4915$0$38863$ec3e2dad@news.usenetmonster.com... >>> FYI I just posted below in comp.lang.fortran topic "Word-processing >>> challenge anyone? " >>> and I expect to get at least 1 solution in reply. >>> >>> OTOH, despite the claims that PL/I has superior string-handling thats needed >>> in a word-processing application, >>> there wont be any solutions posted here in comp.lang.pl1 and its for sure >>> Weinkam cant produce a competitive >>> Cobol solution. >>> >>> ------------- below posted in comp.lang.fortran ---------- >>> Want to give this a shot? >>> Get the text file at: http://patriot.net/~bmcgin/kjvpage.html >>> Using a text editor (notepad) remove text before >>> Book 01 Genesis and text after last word in Revelations, (amen) >>> producing bible.txt file containing >>> 4,947,047 chars. >>> >> >> Are you counting CR, LF, and other record separators in your >> >> 4,947,047 chars >> >> count? I am NOT counting those - and I get >> >> 4,719,042 >> >> characters in the file (when only dealing with characters IN each record) >> >> -- >> Bill Klein >> wmklein <at> ix.netcom.com >> >> > >
- Next message: Richard: "Re: Cross-language challenge (of POSSIBLE interest)"
- Previous message: William M. Klein: "Re: Word-processing challenge anyone?"
- In reply to: William M. Klein: "Re: Word-processing challenge anyone?"
- Next in thread: epc8_at_juno.com: "Re: Word-processing challenge anyone?"
- Reply: epc8_at_juno.com: "Re: Word-processing challenge anyone?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|