sushant10 / HQ_Bot

📲 Bot to help solve HQ trivia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Posible ways to speed up the bot

nuriaymarco03 opened this issue · comments

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.