Word count discrepancy between Nisus Writer Pro and Word

Everything related to our flagship word processor.
Post Reply
samwa
Posts: 10
Joined: 2012-12-28 12:57:50

Word count discrepancy between Nisus Writer Pro and Word

Post by samwa »

I have just finished writing a book in Nisus Writer Pro, and unfortunately had to convert it to Word. After I did, I noted something surprising; the word count, which according to Text Analysis is something over 137,00 words, is just over 133,00 according to Word. I don't think anything was lost in the conversion. Any idea why these are so different, and which is more likely to be right ?
Roger
Posts: 15
Joined: 2017-01-03 16:43:39

Re: Word count discrepancy between Nisus Writer Pro and Word

Post by Roger »

I just did a quick test and discovered at least a partial answer:

1. Nisus counts hyphenated-words as two words.

2. MS Word counts hyphenated-words as one word.
samwa
Posts: 10
Joined: 2012-12-28 12:57:50

Re: Word count discrepancy between Nisus Writer Pro and Word

Post by samwa »

Thanks ! That looks like a good chunk of it. I doubt 2% of all the words are hyphenated, but there's a hyphenated name that appears frequently, so that no doubt contributes.
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Word count discrepancy between Nisus Writer Pro and Word

Post by martin »

How words are counted isn't an exact science, so different software can produce different results. As Roger mentioned, hyphenation can affect this. We have had requests that we add an option which allows users to choose whether hyphenated words are counted as one or two words. Even then it's tricky, because something like "high-risk" might best be considered 2 words, but "re-edit" just 1. Languages are messy beasts.

If you don't mind sending your document to us privately, we could check and see what else can be done to harmonize the word count between Nisus Writer and Word. Although perfect agreement may never be attainable (or desired), we prefer that our users not have any unwanted surprises.
samwa
Posts: 10
Joined: 2012-12-28 12:57:50

Re: Word count discrepancy between Nisus Writer Pro and Word

Post by samwa »

Thanks, but it isn't that important. There's even a certain advantage to having two values to choose from. Thanks for your help !
Þorvarður
Posts: 410
Joined: 2012-12-19 05:02:52

Re: Word count discrepancy between Nisus Writer Pro and Word

Post by Þorvarður »

Martin wrote:
We have had requests that we add an option which allows users to choose whether hyphenated words are counted as one or two words.
If I’m not completely mistaken, this option is already included in Nisus, namely in the Find/Replace box. :-)

Samwa wrote:
Any idea why these are so different, and which is more likely to be right ?
You can use the Find/Replace box to custom tailor the word count, i.e. tell Nisus exactly how a word should look like and where word boundaries should be. Try the macro below and see if there is still much difference.

A few things worth having in mind when counting words:
The Statistics palette and the Find/Replace box count differently. The Statistics palette counts an hyphenated word as 2 words, but delivers otherwise correct results. — Now, in case one wants an hyphenated word to be counted as 1 word, one must create a search criterion in the Find/Replace box that looks explicitly for hyphenated words; but this is not enough, because for some reason the Find/Replace box interprets an apostrophe as the end of a word. The phrase "Man's best friend" is therefore counted as 4 words if we use the Find/Replace box without any extra criteria.
1.png
1.png (57.96 KiB) Viewed 8023 times
The following search criteria should resolve the problem.
2.png
2.png (94.98 KiB) Viewed 8023 times
The third apostrophe in the search box captures (additionally) smart punctuation, in case the user has turned on "smart punctuation" in Preferences > QuickFix. The first apostrophe is what we may sometimes get when we copy text from the web.
Attachments
WordCount hyphenated.nwm.zip
(3.12 KiB) Downloaded 418 times
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Word count discrepancy between Nisus Writer Pro and Word

Post by martin »

Þorvarður wrote:If I’m not completely mistaken, this option is already included in Nisus, namely in the Find/Replace box. :-)
Ahh that's a clever way to get yet another word count! Thanks for sharing Þorvarður :)
Post Reply