在国内运营任何网站都一定要遵守国家的法律法规,因此敏感词过滤不可避免。
文章目录
敏感词数据
见github仓库:敏感词
测试用户的内容中,是什么敏感词
your_text = """
一夜情的故事
"""
# 打开并读取min_word_processed.txt文件
with open('min_word_processed.txt', 'r', encoding='utf-8') as file:
在国内运营任何网站都一定要遵守国家的法律法规,因此敏感词过滤不可避免。
见github仓库:敏感词
your_text = """
一夜情的故事
"""
# 打开并读取min_word_processed.txt文件
with open('min_word_processed.txt', 'r', encoding='utf-8') as file: