hankcs / AhoCorasickDoubleArrayTrie

An extremely fast implementation of Aho Corasick algorithm based on Double Array Trie.
http://www.hankcs.com/program/algorithm/aho-corasick-double-array-trie.html
946 stars 289 forks source link

在文章中如何自动替换命中的单词 #58

Open BigStargazer opened 2 years ago

BigStargazer commented 2 years ago

对于一篇文章的parseText,是否可以利用该算法实现自动替换命中的单词?