Algorithm Research & Explore
|
1678-1682,1688

Sensitive word filtering algorithm based on improved Trie tree and DFA

Wu Shan1,2
Li Yingxiang2
Xu Hongyan1
Zhang Shixia1
Shi Yijun3
1. School of Intelligent Technology, Tianfu College of Southwest University of Finance & Economics, Mianyang Sichuan 621000, China
2. College of Communication Engineering, Chengdu University of Information Technology, Chengdu 610103, China
3. The 5th Electronic Research Institute of MIT, Guangzhou 510507, China

Abstract

By investigating the methods for filtering the sensitive word in the text and the related technologies, this paper proposed a sensitive word filtering algorithm based on the improved Trie tree and DFA to solve the key problems of the sensitive word filtration, including artificial interference, participle obstacles and so on. The algorithm improved the accuracy and validity of sensitive word filtering in text. It consisted of three major steps. Firstly, based on the mathematical theory of permutation and combination, it constructed an algorithm for extending Chinese word to Chinese-phonetic mixed word. Secondly, it employed the improved Trie tree structure to store all the status of DFA to build the sensitive word tree. Finally, it could search and filter the sensitive words in the text content on the basis of the construction of the sensitive word tree structure and the minimum matching rule. Through analysis, the time complexity of constructing sensitive word tree algorithm is O(n×len), and detecting and filtering sensitive word algorithm is O(L). The experimental results show that the precision rate of the algorithm is 100%, and the recall rate is about 87%~100%.

Foundation Support

国家自然科学基金资助项目(61804032)
院士基金资助项目(ZHD201806)

Publish Information

DOI: 10.19734/j.issn.1001-3695.2020.09.0240
Publish at: Application Research of Computers Printed Article, Vol. 38, 2021 No. 6
Section: Algorithm Research & Explore
Pages: 1678-1682,1688
Serial Number: 1001-3695(2021)06-014-1678-05

Publish History

[2021-06-05] Printed Article

Cite This Article

吴珊, 李英祥, 徐鸿雁, 等. 基于改进的Trie树和DFA的敏感词过滤算法 [J]. 计算机应用研究, 2021, 38 (6): 1678-1682,1688. (Wu Shan, Li Yingxiang, Xu Hongyan, et al. Sensitive word filtering algorithm based on improved Trie tree and DFA [J]. Application Research of Computers, 2021, 38 (6): 1678-1682,1688. )

About the Journal

  • Application Research of Computers Monthly Journal
  • Journal ID ISSN 1001-3695
    CN  51-1196/TP

Application Research of Computers, founded in 1984, is an academic journal of computing technology sponsored by Sichuan Institute of Computer Sciences under the Science and Technology Department of Sichuan Province.

Aiming at the urgently needed cutting-edge technology in this discipline, Application Research of Computers reflects the mainstream technology, hot technology and the latest development trend of computer application research at home and abroad in a timely manner. The main contents of the journal include high-level academic papers in this discipline, the latest scientific research results and major application results. The contents of the columns involve new theories of computer discipline, basic computer theory, algorithm theory research, algorithm design and analysis, blockchain technology, system software and software engineering technology, pattern recognition and artificial intelligence, architecture, advanced computing, parallel processing, database technology, computer network and communication technology, information security technology, computer image graphics and its latest hot application technology.

Application Research of Computers has many high-level readers and authors, and its readers are mainly senior and middle-level researchers and engineers engaged in the field of computer science, as well as teachers and students majoring in computer science and related majors in colleges and universities. Over the years, the total citation frequency and Web download rate of Application Research of Computers have been ranked among the top of similar academic journals in this discipline, and the academic papers published are highly popular among the readers for their novelty, academics, foresight, orientation and practicality.


Indexed & Evaluation

  • The Second National Periodical Award 100 Key Journals
  • Double Effect Journal of China Journal Formation
  • the Core Journal of China (Peking University 2023 Edition)
  • the Core Journal for Science
  • Chinese Science Citation Database (CSCD) Source Journals
  • RCCSE Chinese Core Academic Journals
  • Journal of China Computer Federation
  • 2020-2022 The World Journal Clout Index (WJCI) Report of Scientific and Technological Periodicals
  • Full-text Source Journal of China Science and Technology Periodicals Database
  • Source Journal of China Academic Journals Comprehensive Evaluation Database
  • Source Journals of China Academic Journals (CD-ROM Version), China Journal Network
  • 2017-2019 China Outstanding Academic Journals with International Influence (Natural Science and Engineering Technology)
  • Source Journal of Top Academic Papers (F5000) Program of China's Excellent Science and Technology Journals
  • Source Journal of China Engineering Technology Electronic Information Network and Electronic Technology Literature Database
  • Source Journal of British Science Digest (INSPEC)
  • Japan Science and Technology Agency (JST) Source Journal
  • Russian Journal of Abstracts (AJ, VINITI) Source Journals
  • Full-text Journal of EBSCO, USA
  • Cambridge Scientific Abstracts (Natural Sciences) (CSA(NS)) core journals
  • Poland Copernicus Index (IC)
  • Ulrichsweb (USA)