
Karmic review, http://www.theregister.co.uk/2009/10/29/ubuntu_9_10_review/

Does anyone have any idea of how Writer counts words? I'm working on my 50,000-word novel for NaNoWriMo, and I've noticed that the more I write, the more optimistic Writer's word count is. The official word count is currently 10,106. Writer's count is 10,361. Microsoft Word 2007's count is about 10,096, which makes it far more accurate than Writer. It's a bit annoying; if I want an accurate word count, I have to paste it into the NaNoWriMo's word counter. Sandy

At a guess, it will have taken the average words per line, and multiplied by lines with content which would be reasonable accurate but would skew as the numbers get larger. Using antiword(doc to txt, I presume there is something similar for odt) and wc should be a little less involved if you need more accuracy (thou im only assuming wc is accurate)

I've found the problem. It seems that 'curly' double quote marks and apostrophes, as opposed to the plain ones, are counted as words. Once I'd converted them all to plain marks the word count went down to only 19 above NaNoWriMo's word count. That's far more acceptable. However, converting them /back/ to smart quotes is going to be a pain; apostrophes are easy, but how does one convert the double quotes back when different sets are used for opening and closing? Any ideas? Sandy

Sounds like OpenOffice needs a more sensible word count algorithm. With difficulty I think? Maybe there is a feature to do it in OpenOffice somewhere. I LaTeXed a book at some point and it annoyed me that all the quotation marks were "..."" rather than `` ... '' in the source. I am not expert enough with any standard Unix tools that might be easy to do this with, so I ended up writing a quick program that tracked the number of " characters read and output `` and '' as appropriate. On Sun, Nov 8, 2009 at 7:07 PM, Chakat Sandwalker <sandwalker(a)gmail.com> wrote:
I've found the problem. It seems that 'curly' double quote marks and apostrophes, as opposed to the plain ones, are counted as words. Once I'd converted them all to plain marks the word count went down to only 19 above NaNoWriMo's word count. That's far more acceptable. However, converting them /back/ to smart quotes is going to be a pain; apostrophes are easy, but how does one convert the double quotes back when different sets are used for opening and closing? Any ideas?
Sandy _______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug

On Sunday 08 November 2009 19:07:21 Chakat Sandwalker wrote:
I've found the problem. It seems that 'curly' double quote marks and apostrophes, as opposed to the plain ones, are counted as words. Once I'd converted them all to plain marks the word count went down to only 19 above NaNoWriMo's word count. That's far more acceptable. However, converting them /back/ to smart quotes is going to be a pain; apostrophes are easy, but how does one convert the double quotes back when different sets are used for opening and closing? Any ideas?
Sandy _______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
I'm pretty sure that the "Altsearch" extension will do that. I'm not an expert with it but it's pretty cool doing the stuff I want it to -- Graham Lauder, OpenOffice.org MarCon (Marketing Contact) NZ http://marketing.openoffice.org/contacts.html INGOTs Moderator New Zealand www.theingots.org.nz
participants (5)
-
Chakat Sandwalker
-
Graham Lauder
-
jaytee@clear.net.nz
-
Ronnie Collinson
-
Sam Douglas