/censor-obfus

Chinese text censor obfuscate - 中文敏感词混淆替换

Primary LanguageJavaScriptMIT LicenseMIT

敏感词替换混淆

用同音字替换敏感词

Live demo

Chrome Extension

Caveats

  • 实现不包含分词,因此例如“干”这样的单字会被替换,以及一些语义错误替换,可在 checkbox 中勾去
  • 词库直接决定了替换的质量,这里使用的词库来自于 sensitive-word-filter

声明

Updates

TODOs

  • 更完整的词库
    • construct by differentiating two set of corpora.
    • differentiate word frequency
  • 混合方案增强可读性
    • 形近字
    • 只替换单个字
    • 和制汉字
  • PWA

License

censor-obfus is released under the MIT license. See LICENSE for additional details.