Thread: Word Count
View Single Post
Old 04-19-2011, 06:55 AM   #24
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Quote:
Originally Posted by theducks View Post
My 2 cents
What don't you count when you calculate the word count.
Front matter(copyright, books by author...)? Teasers for other books? Pages of 'Rave reviews'? Sample chapters? Glossary? Dramatis Persona?

I am trying to think of all the other stuff I frequently see other than the Story (Forward through Epilogue)

I guess I never worry about word count.
When I get to 'The End', I am done
I wasn't thinking about trying to get fancy and detect where the book actually starts. The way I do it in heuristics is just delete all the html tags with a regex (potentially error prone but faster than proper text conversion). Then I just count everything that's left. The way I'm thinking to do this is basically identical to the extract ISBN plugin's mechanism, so the regex aproach would actually be required, as the function the plugin relies on creates a book preview that's incompatible with the conversion engine.
ldolse is offline   Reply With Quote