Jump to content

Inappropriate Text - Simple way to test/reject user entered text based on obscenities - How ?


andyhill

Recommended Posts

10 hours ago, andyhill said:

I am happy to learn about what is out there, could we have a UniGUI solution in the future (less opportunities to be intercepted) ? 

Hi, maybe this will help to apply some proposal for protection : https://stackoverflow.com/questions/273516/how-do-you-implement-a-good-profanity-filter

list with bad words (couple languages): https://github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words

where do you get these obscenities in unigui interface?

Link to comment
Share on other sites

1 hour ago, andyhill said:

I am looking at USER input text (Supplier Names, Item Names, Customer Names etc...)

Thanks for the links - interesting.

So, this mean that all will be saved on DB.

Can you create some Server Side protection based on  examples from link above

Link to comment
Share on other sites

From a coding point of view I can easily create the list, parse the list, reject matching words if necessary, BUT I did not want to type into my application all of the ugly words (plus I do not know them all, nor do I want to). It would have been nice to have an encrypted lookup to check questionable text against. Maybe I am old fashioned 🫣

eg.
if Obscene(UserText) then begin
  ShowMessage('Obscenities are not tolerated - Aborting !');
end else begin
  ...
end;

Yes I am sure there are URL offerings out there but I need to watch my pennies plus I am trying to limit URL services in my project.

What about a UniGUI Community project ?

  

Link to comment
Share on other sites

8 hours ago, andyhill said:

From a coding point of view I can easily create the list, parse the list, reject matching words if necessary, BUT I did not want to type into my application all of the ugly words (plus I do not know them all, nor do I want to). It would have been nice to have an encrypted lookup to check questionable text against. Maybe I am old fashioned 🫣

eg.
if Obscene(UserText) then begin
  ShowMessage('Obscenities are not tolerated - Aborting !');
end else begin
  ...
end;

Yes I am sure there are URL offerings out there but I need to watch my pennies plus I am trying to limit URL services in my project.

What about a UniGUI Community project ?

  

For Your need, best solution will be AI.

We will wait for this option on unigui ;)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...