+
    ި}j                         ^RI Ht R tR# )   )get_dbc                    \        4       pVP                  4       p VP                  R4       VP                  4        Uu. uF  q3R,          NK  	  ppVP	                  4        V'       g   R# V  FL  pV'       g   K  \        V4      P                  4       pV F   pVP                  4       V9   g   K  RV3u u # 	  KN  	  R# u upi   TP	                  4        i ; i)ui   
检查文本中是否包含敏感词
返回 (found, word) - found为True时word为匹配到的敏感词
z SELECT word FROM sensitive_wordswordT)FN)r   cursorexecutefetchallclosestrlower)textsconnr   rowwordstext
text_lowerr   s   *       !backend/utils/sensitive_filter.pycheck_sensitive_wordsr      s    
 8D[[]F9:(.(9:(9V(9:

Y__&
Dzz|z)Tz! 	   ;

s   #C C C  C CN)databaser   r        r   <module>r      s    r   