kwd_patterns