Closed nuriaymarco03 closed 6 years ago
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?
Its because of OCR. Googles tesseract OCR takes too long
I reckon that your method google_wiki() is the one taking too long. Is probably the process of parsing the HTML.
google_wiki()
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?