Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #397340

Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!)

From Michael S <already5chosen@yahoo.com>
Newsgroups comp.lang.c
Subject Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!)
Date 2026-04-01 01:02 +0300
Organization A noiseless patient Spider
Message-ID <20260401010211.00002443@yahoo.com> (permalink)
References (7 earlier) <10qdlnm$2cpsn$1@dont-email.me> <20260331121122.000030bf@yahoo.com> <10qgv11$3gpu5$1@dont-email.me> <20260331211545.00006b28@yahoo.com> <10qhcjq$3l179$1@dont-email.me>

Show all headers | View raw


On Tue, 31 Mar 2026 16:59:41 -0400
DFS <nospam@dfs.com> wrote:

> On 3/31/2026 2:15 PM, Michael S wrote:
> > On Tue, 31 Mar 2026 13:07:48 -0400
> > DFS <nospam@dfs.com> wrote:
> >   
> >> On 3/31/2026 5:11 AM, Michael S wrote:
> >>  
> >>> I did. There are 223 words.
> >>> So, now I have more interesting question - how did DFS come to
> >>> number 235? If by eye sight - it's impressively precise. If by use
> >>> of word count utility - it's too imprecise.  
> >>
> >>
> >> Starting with "But okay. When", I counted on my fingers while
> >> moving my lips.  Lost count several times before I dropped it into
> >> Notepad++ and did View | Summary.
> >>
> >>
> >>
> >>  
> > 
> > Now I know that Notepad++ has View | Summary. Thank you.  
> 
> 
> But if I use Notepad++ and replace every space with a \n I get 223 
> words.  Difference of 12.  Strange.
> 
> Google AI Mode says:
> 
> "Notepad++'s View | Summary (or double-clicking the status bar) is
> known to produce inaccurate word counts because it uses a simplified
> algorithm that often misinterprets punctuation, special characters,
> and encodings as word boundaries. It is widely considered "totally
> wrong" for precise work.
> 
> Recommended Workarounds
> For an accurate word count, use these more reliable methods:
> 
> Regex Count (Most Accurate):
> Press Ctrl + F and go to the Mark or Find tab.
> In Find what, type: \w+ (this matches alphanumeric word characters).
> Set the Search Mode to Regular expression.
> Click Count (or Mark All). The accurate word count will appear in the 
> status bar of that window.
> 
> Counting Selected Text Only:
> To count a specific section, highlight the text and follow the Regex 
> Count steps above, making sure to check the In selection box.
> 
> Plugins:
> NppTextFX2: This updated plugin provides a dedicated "Word Count"
> tool under TextFX > TextFX Tools.
> 
> PythonScript: Advanced users can use a script (like
> StatusBarWordCount) to display a live, accurate count in the status
> bar.
> 
> Why "Summary" is Inaccurate
> Encoding Issues: It may miscount characters in specific encodings
> like UCS-2.
> 
> Word Definition: Unlike a full word processor, the Summary feature's 

> basic definition of a "word" often fails to handle contractions (like 
> "don't") or hyphenated words correctly.
> 
> Hidden Spaces: It sometimes overcounts by treating multiple spaces or 
> line returns as extra word breaks."
> 
> 
> 
> Overcounting by 12 from a 223-word paragraph is ridiculously wrong.
> I'm surprised, since Notepad++ is otherwise a great editor.
> 
> Note: if I use the AI suggestion of "Regex Count", it also says 235
> words.
> 
> 223 it is.
> 

Now I had unknown that Notepad++ has View | Summary. Thank you.

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-22 10:38 -0400
  Re: I think this could be an interesting challenge! John McCue <jmclnx@gmail.com.invalid> - 2026-03-22 17:29 +0000
    Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-22 14:20 -0400
      Re: I think this could be an interesting challenge! John McCue <jmclnx@SPAMisBADgmail.com> - 2026-03-23 01:23 +0000
      Re: I think this could be an interesting challenge! Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-03-24 00:43 -0700
        Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-24 04:38 -0400
          Re: I think this could be an interesting challenge! scott@slp53.sl.home (Scott Lurndal) - 2026-03-24 14:02 +0000
            Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-24 12:03 -0400
              Re: I think this could be an interesting challenge! Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-03-24 22:18 +0000
            Re: I think this could be an interesting challenge! Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-03-24 12:39 -0700
      Re: I think this could be an interesting challenge! Eli the Bearded <*@eli.users.panix.com> - 2026-03-25 04:07 +0000
        Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-25 01:17 -0400
  Re: I think this could be an interesting challenge! Bart <bc@freeuk.com> - 2026-03-22 19:27 +0000
    Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-22 16:34 -0400
      Re: I think this could be an interesting challenge! Bart <bc@freeuk.com> - 2026-03-22 21:24 +0000
        Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-22 18:15 -0400
  Re: I think this could be an interesting challenge! Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-03-22 23:02 +0000
    Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-22 19:14 -0400
      Re: I think this could be an interesting challenge! Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-03-23 00:05 +0000
        Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-23 00:06 -0400
          Re: I think this could be an interesting challenge! Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-03-24 11:03 +0000
            Re: I think this could be an interesting challenge! Bart <bc@freeuk.com> - 2026-03-24 12:58 +0000
            Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-24 13:17 -0400
              Re: I think this could be an interesting challenge! Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-03-25 00:29 +0000
                Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-25 23:38 -0400
                Re: I think this could be an interesting challenge! Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-03-26 12:08 +0000
                Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-26 08:34 -0400
  Re: I think this could be an interesting challenge! Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-03-22 23:11 +0000
    Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-22 19:16 -0400
  Re: I think this could be an interesting challenge! Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-03-22 23:19 +0000
  Re: I think this could be an interesting challenge! Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-03-22 23:21 +0000
    Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-22 19:41 -0400
      Re: I think this could be an interesting challenge! Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-03-23 00:09 +0000
      Re: I think this could be an interesting challenge! Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-03-23 00:10 +0000
    Re: I think this could be an interesting challenge! Michael S <already5chosen@yahoo.com> - 2026-03-23 10:53 +0200
      Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-23 10:56 -0400
        Re: I think this could be an interesting challenge! Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-03-24 11:04 +0000
      Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-23 12:26 -0400
      Re: I think this could be an interesting challenge! Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-03-26 19:59 -0700
        Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-27 12:16 -0400
        Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-28 09:20 -0400
  Re: I think this could be an interesting challenge! Bart <bc@freeuk.com> - 2026-03-22 23:53 +0000
    Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-22 23:40 -0400
      Re: I think this could be an interesting challenge! Bart <bc@freeuk.com> - 2026-03-23 16:03 +0000
        Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-24 13:10 -0400
          Re: I think this could be an interesting challenge! Bart <bc@freeuk.com> - 2026-03-24 20:29 +0000
      Re: I think this could be an interesting challenge! Bart <bc@freeuk.com> - 2026-03-23 22:26 +0000
        Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-24 13:06 -0400
          Re: I think this could be an interesting challenge! Bart <bc@freeuk.com> - 2026-03-25 11:54 +0000
            Re: I think this could be an interesting challenge! Bart <bc@freeuk.com> - 2026-03-25 18:07 +0000
            Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-26 09:41 -0400
              Re: I think this could be an interesting challenge! Bart <bc@freeuk.com> - 2026-03-26 16:37 +0000
            Re: I think this could be an interesting challenge! Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-03-26 15:37 +0000
  Re: I think this could be an interesting challenge! Richard Harnden <richard.nospam@gmail.invalid> - 2026-03-25 12:32 +0000
    Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-25 23:21 -0400
      Re: I think this could be an interesting challenge! Richard Harnden <richard.nospam@gmail.invalid> - 2026-03-26 04:02 +0000
        Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-26 00:14 -0400
          Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-26 01:02 -0400
      Re: I think this could be an interesting challenge! scott@slp53.sl.home (Scott Lurndal) - 2026-03-26 15:32 +0000
    Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-26 11:35 -0400
      Re: I think this could be an interesting challenge! Richard Harnden <richard.nospam@gmail.invalid> - 2026-03-26 16:40 +0000
    Re: I think this could be an interesting challenge! Richard Harnden <richard.nospam@gmail.invalid> - 2026-03-27 17:24 +0000
      Re: I think this could be an interesting challenge! DFS <nospam@dfs.com> - 2026-03-28 00:52 -0400
        Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-03-28 06:59 +0100
          Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) DFS <nospam@dfs.com> - 2026-03-28 09:05 -0400
            Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-03-30 11:26 +0200
              Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) Bart <bc@freeuk.com> - 2026-03-30 12:10 +0100
                Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) Michael S <already5chosen@yahoo.com> - 2026-03-31 12:11 +0300
                Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) Bart <bc@freeuk.com> - 2026-03-31 11:53 +0100
                Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) Michael S <already5chosen@yahoo.com> - 2026-03-31 14:22 +0300
                Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) DFS <nospam@dfs.com> - 2026-03-31 13:07 -0400
                Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) Michael S <already5chosen@yahoo.com> - 2026-03-31 21:15 +0300
                Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) DFS <nospam@dfs.com> - 2026-03-31 16:59 -0400
                Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) Michael S <already5chosen@yahoo.com> - 2026-04-01 01:02 +0300
                Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) DFS <nospam@dfs.com> - 2026-03-31 18:24 -0400
                [OT] Slaving away with word-counts (was Re: Ruminations [...]) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-04-01 02:19 +0200
              Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-03-30 20:33 -0400
                Re: Ruminations about the recent challenges (was Re: I think this could be an interesting challenge!) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-03-31 09:00 +0200

csiph-web