def check ( text ) : err = "malapropisms.misc" msg = u"'{}' is a malapropism." illogics = [ "the infinitesimal universe" , "a serial experience" , "attack my voracity" , ] return existence_check ( text , illogics , err , msg , offset = 1 )
python algorihtym to determine if text is question
Check the text .
def check(text):
    """Check the text."""
    err = "malapropisms.misc"
    msg = u"'{}' is a malapropism."

    illogics = [
        "the infinitesimal universe",
        "a serial experience",
        "attack my voracity",
    ]

    return existence_check(text, illogics, err, msg, offset=1)