Quote:
Originally Posted by snarkophilus
Nothing hugely useful at a glance:
Spoiler:
Code:
Count Page/Word Statistics
do_count_statistics - book_path=C:\Users\simon\AppData\Local\Temp\calibre_6yaerj\9cqwln_count_pages\5433.epub, pages_algorithm=2, page_count_mode=Estimate, statistics_to_run=[u'PageCount', u'GunningFog', u'WordCount', u'FleschGrade', u'FleschReading'], custom_chars_per_page=1500, icu_wordcount=True
do_count_statistics - job started for file book_path=C:\Users\simon\AppData\Local\Temp\calibre_6yaerj\9cqwln_count_pages\5433.epub
-------------------------------
Logfile for book ID 5433 (Complete Works)
Method of counting _page_count_mode=Estimate _download_sources=[]
results= {u'GunningFog': 10.694577889041557, u'WordCount': 1155998, u'FleschGrade': 6.591641012852087, u'FleschReading': 79.86374324684013, u'PageCount': 2504.0}
Found 2504 pages
Computed 10.7 Gunning Fog Index
Found 1155998 words
Computed 6.6 Flesch-Kincaid Grade
Computed 79.9 Flesch Reading
5433
do_statistics_for_book: C:\Users\simon\AppData\Local\Temp\calibre_6yaerj\9cqwln_count_pages\5433.epub 2 Estimate [] [u'PageCount', u'GunningFog', u'WordCount', u'FleschGrade', u'FleschReading'] 1500 True
Page count: 2504.0
Word count using icu_wordcount - trying to count_words
Word count - used count_words: 1155998
Word count: 1155998
Results of NLTK text analysis:
Number of characters: 5468651
Number of words: 1251081
Number of sentences: 68486
Number of syllables: 1607495
Number of complex words: 109300
Average words per sentence: 18
For this book, using language=eng
Flesch Reading Ease: 79.8637432468
Flesch Kincade Grade: 6.59164101285
Gunning Fog: 10.694577889
It was faster this time - 26m06s today vs 26m36s yesterday
I'm using the current Calibre Windows 64-bit build. I update everytime Calibre reminds me there's a new version.
Are there any Calibre debug options that might give a more verbose log file?
EDIT: I'm using the ADE page count algorithm if that's relevant.
EDIT2: Attached screenshot of my Count Pages configuration
|
It does tell me what I wanted to know. The count is done in a couple of ways. I wanted to check it was happening correctly. The two lines I highlighted tell me it is.
And the configuration is what I was expecting.
The problem seem to be in a library calibre has. The only other place I can see that it is used is in the editor for the spelling check. Can you open the book and then open one of the internal files? If the option to show mispelt words is on, it will probably take a long time. It is different to the plugin. The spelling check is done at the tag level (basically per paragraph) whereas the plugin does it for the full book in one go.