Update ad_keyword.c

add judge pattern file size