Having some fun with word counts
-
Guys/gals,
I’m trying to figure out how to shape a query that will do this:
1. For all of author A’s posts over the last 1 year:
2. Take the word count of each post, W.
3. Take the square root of that word count sqrt(W).
4. Sum all of those values together sum(sqrt(W)).This should result in one number for each author. Does anyone have any ideas?
(This is part of an algorithm we’ll be using to compensate our writers.)
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Having some fun with word counts’ is closed to new replies.