Thread: Word Count
View Single Post
Old 04-19-2011, 03:51 AM   #17
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ldolse View Post
There is a word count function embedded inside Calibre, currently used internally for heuristics. With the new plugin framework it should be simple to create a user interface plugin for this. What would people want done with the information? I'm thinking populate a user configurable column might be the way to go.
Unless the value is precomputed for each book (book, not format), a custom column would be a performance catastrophe. Reason: touching any custom column for a book record causes the computation of them all. Sorting on something would compute the word count for all books in the library. Doing that for 10,000 books could take many minutes.
chaley is offline   Reply With Quote