A gotcha keywords parser written in Python