Can have a great god for a code, I added directly, small white one, thank you
CodePudding user response:
By STR. The Replace method should be feasibleCodePudding user response:
Code to replace or not convenient, want to add a new words have changed the code to release,Suggest you change the database to essentially. The data import to essentially,
Words to make a table, easy to add and change,
Do a function that is used to sensitive word string substitution to *,
The user query, access the view can, like:
create view view_tableName
As
Select *, dbo. Fun_GetClearContent (content) as clearContent
The from tableName
Go
CodePudding user response:
You baidu skilled and magical craftsmanship,Several years ago, by this algorithm, the design of the words filtering,
CodePudding user response:
If you as I said, you must have a special sensitive word list, but when it is not difficult to be online to findYou really don't want to look for, you can use baidu ready-made interface:
http://ai.baidu.com/tech/textcensoring? Track=cp: ainsem | pf: PC | pp: chanpin - neirongshenhe | pu: neirongshenhe - minganciguolv | ci: | kw: 10001849
CodePudding user response:
Maintain a sensitive word, and then write on the web. Config the inside is ok, if you call the database will increase the pressure of the databaseCodePudding user response: