I have reported a bug in the Count Pages plugin where it can count multiple words as one word.
except…if
except—if
except–if
Those are counted as one word each instead of two words.
It turns out the bug is in Calibre.
Quote:
Originally Posted by PeterT
You probably have to open this as a calibre bug; the plugin uses
Code:
from calibre.utils.wordcount import get_wordcount_obj
book_text = _read_epub_contents(iterator, strip_html=True)
wordcount = get_wordcount_obj(book_text)
to get the word count
|