mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
tweaked threshold for preprocess
This commit is contained in:
parent
dd96c645f0
commit
90177a4205
@ -194,7 +194,7 @@ class PreProcessor(object):
|
|||||||
totalwords = 0
|
totalwords = 0
|
||||||
totalwords = self.get_word_count(html)
|
totalwords = self.get_word_count(html)
|
||||||
|
|
||||||
if totalwords < 20:
|
if totalwords < 50:
|
||||||
self.log("not enough text, not preprocessing")
|
self.log("not enough text, not preprocessing")
|
||||||
return html
|
return html
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user