"What something is" - regexp should match such case
@@ -3,7 +3,8 @@ import re
FACTOID_NOTSURE_CONFIDENCE = 0.1
FACT_REGEXP = re.compile(r"fact about", re.IGNORECASE)
-WHAT_REGEXP = re.compile(r"what (is|are) (a |an |the )?{subject}\?", re.IGNORECASE)
+WHAT_REGEXP = re.compile(r"((what (is|are) (a |an |the )?{subject}\?)|"
+ r"(what (a |an |the ){subject} (is|are)\?))", re.IGNORECASE)
DONT_KNOW_ANSWER = [
"Sorry I can't answer these kinds of questions yet. "
