Find out about the functions and the installation of this API to see how you will be able to do this with the help of PHP.
What Are Unwanted Words?
Unwanted words are words that will be detected by the API to filter any type of unwanted content that may emerge. This can be on a website or app. It can be in a social media platform or in any text. There are many undesired contents that may arise on a daily basis. For example, the use of the word “crap” or “shit” repeatedly on one website.
Or maybe it is a hashtags or mention that is not appropriate for a certain platform. Often it is swearings, cusses or insults. Or even worse, hate comments, violent thoughts or even racist acts.
Text Moderation API
This API seeks to prevent this situations from happening and filter any improper word. Then automatically check for any unwanted word appearance by detecting it, evaluating it, and then automatically filtering it out if it happens to be one of those words. This is efficient as well as simple because all you have to do is enter your text and then receive it back with any words like that gone and replaced with “[filtered]” in front of them.
What Is PHP?
PHP is a computer language which comprises a server-side scripting language used to create dynamic web pages. It can also be used to create common applications like calculators, surveys and games. It was created by a team led by Rasmus Lerdorf in 1994 at the European Organization for Nuclear Research (CERN).
It is a scripting language that allows programmers to insert little programs, also known as “scripts”, into websites which later can be interpreted and executed by a server (in this case the website where you want your platform to be).
Now that you know what PHP is and that it helps install an API, let me tell you how you can do this one in just 2 steps!
Step
Be able to detect any improper words in a given image. Be able to filter any unwished content on your platforms.
You can check Text Moderation in Images API for free here.