ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Clipboard Help+Spell

3 Feature Ideas

<< < (4/5) > >>

ewemoa:
Doing some investigation on what "word count" means...upon reflection it seems clear that there may be different definitions.  Though not conclusive, the following tests with online word counters perhaps indicate bugs, multiple interpretations, and/or duplication.


* http://www.wordcounttool.com/ - 827
* http://www.scribendi.com/wordcount.en.html - 820
* http://www.javascriptkit.com/script/script2/countwords.shtml - 773
* http://www.asiatranslate.net/online-word-count.html - 773
* http://www.wisgary.com/programs/wordcount.aspx - 823
* http://www.lettercount.com/words.html - 773
* http://www.allworldphone.com/count-words-characters.htm - 773
By the way, when I trid the script posted earlier to this thread, the result I saw was different from your report -- here I saw 842 words in 101 lines.  I did this test by copying the text to a text editor, editing it (based on your warning of the extra text at the end), selecting the result, and running the script on it.

The posted script treats each contraction as two words instead of one.  From searching online it appears that this may be viewed as overcounting.  For the current case, I think that's 18 too many words.

A word with a hypen was also counted as more than one word.  I think the overcounting from that was 3 words.

If those were the only differences, then adjustments would lead to agreement with Word's total of 821 = 842 - (18 + 3).  However, with such limited testing, it seems unsafe to bet that such adjustments would lead to perfect matches for all / most other cases.

ewemoa:
It appears that depending on what web browser is used, what gets included in one's selection may differ.

My initial tests were with Chrome 14.0.x.  Using FF 8.0.1, I see:

interests-resume-cartoon

--- End quote ---

included in the selection, whereas there does not appear to be anything comparable when selecting with Chrome.

jshare:
Thanks for diving in to this.

Personally, as a WordPress blogger, the count that interests me most is that one but even one that is less than 5% different is fine.

Also, could you add a character count too? Useful for us Twitter users who are limited to 140 characters per message.

ewemoa:
I'm pretty ignorant about WordPress -- do you know if the word counting feature you use is part of the basic functionality of WordPress or if it's some kind of plugin?  Perhaps there is some documentation or  source code that can be consulted -- but to dig any of that up, it might help to have an idea of where to look first :)

Regarding character count, some basic functionality seems doable, but I don't know how much work it might be to try to conform to:

  https://dev.twitter.com/docs/counting-characters

jshare:
For WordPress: this is the Trac ticket where Word Count was implemented.

For Twitter: whatever functionality you decide to implement, just try to make it so the official Twitter count is always less than your count. That way, if your count is 140 or less, I know for sure that I won't need to edit the tweet again because Twitter's count will never be higher.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version