Factoid question-answering app in Python