Posible ways to speed up the bot
nuriaymarco03 opened this issue · comments
nuriaymarco03 commented
This bot its very cool but is takes to long to give answers.
Im trying to modify the code to speed up it.
Does the # list of words to clean from the question contribute to this?
How can i check if its functioning?
Is there a way to use less google result sacrificing accuracy for speed?
Sushant Rao commented
Its because of OCR. Googles tesseract OCR takes too long
Ryan Amaral commented
I reckon that your method google_wiki()
is the one taking too long.
Is probably the process of parsing the HTML.