sushant10 / HQ_Bot

📲 Bot to help solve HQ trivia
MIT License
173 stars 92 forks source link

Posible ways to speed up the bot #123

Closed nuriaymarco03 closed 6 years ago

nuriaymarco03 commented 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?

sushant10 commented 6 years ago

Its because of OCR. Googles tesseract OCR takes too long

ryanamaral commented 6 years ago

I reckon that your method google_wiki() is the one taking too long. Is probably the process of parsing the HTML.