NEW: Text Moderation feature available on Eden AI
Tags: ai, api, textmoderation, deeplearning
Published: 2023-02-09 16:31:57

_Quickly and easily detect explicit words in your written content with just a few simple steps. With our API, you can start reviewing strings of text in seconds and save valuable time and resources._

## What is Text Moderation? 

Just like Image moderation, text moderation is the process of reviewing, filtering, or modifying user-generated content to ensure that it adheres to certain guidelines or policies, such as those related to hate speech, obscenity, misinformation, or privacy. 

The goal of text moderation is to keep online communities safe, respectful, and trustworthy. This can be done through manual review by human moderators or through the use of automated systems such as machine learning algorithms.

![Text Moderation results on Kanye West's tweet using Eden AI API](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ji1v62a04k8hr1w84mud.png)

With a text moderation API, developers can send text content to a server, where it is analyzed and processed based on predefined moderation rules. The API then returns a result indicating whether the content is acceptable or not, and may provide additional information such as a summary of the moderation decision and the reasons behind it. With a text moderation API you can also extract profanity and personal data.

Text moderation APIs are often used to build websites, mobile apps, and other online platforms that require a safe and trustworthy user experience.

## Access all text moderation engines with one API

Our standardized API allows you to use different providers on Eden AI to easily integrate text moderation capabilities into your system and offer your users a convenient and secure way to verify their identity. Some of the providers that you can use include: 

‍

### Microsoft Azure text moderation API

Microsoft Text Moderation API is a cloud-based service provided by Microsoft Azure that helps to automatically filter and moderate potentially inappropriate or offensive text content in a user-generated text. It's designed to recognize and flag a wide range of offensive language, including hate speech, harassment, profanity, and sexually explicit language.

The API uses state-of-the-art machine learning algorithms to perform text analysis and moderation. It's capable of detecting multiple languages, including English, Spanish, German, French, Portuguese, and more. The API allows you to customize the level of moderation, so you can choose to be more or less strict, depending on your specific use case.

The API is easy to integrate into your applications and provides a simple RESTful interface. You can use it in a wide range of applications, such as online forums, social media platforms, customer support systems, and more.

‍

Overall, Microsoft Text Moderation API is a powerful tool that can help you maintain a safe and respectful online community by automatically filtering out inappropriate content.

‍

### Open AI text moderation API

OpenAI Text Moderation API is a machine learning-powered text moderation solution developed by OpenAI, a leading artificial intelligence research lab. The API is designed to automatically detect and flag potentially offensive or inappropriate text content in user-generated text, such as comments, messages, or posts.

The API uses advanced natural language processing techniques to identify a wide range of offensive language, including hate speech, harassment, profanity, sexually explicit content, and more. The API is highly customizable and allows you to choose the level of moderation you want to apply, ranging from strict to permissive.

The API is accessible through a RESTful interface and can be easily integrated into a wide range of applications, including online forums, social media platforms, customer support systems, and more. It supports multiple languages, including English, Spanish, German, French, Portuguese, and more.

‍

OpenAI Text Moderation API can help you maintain a safe and respectful online community by automatically filtering out inappropriate content, and is a valuable tool for anyone looking to ensure that their user-generated text content is suitable for all audiences.

‍**[Try these APIs on Eden AI](https://app.edenai.run/user/register?referral=text-moderation-feature-available)**

## Benefits of integrating a profanity detection API into your application 

There are several reasons why you should consider integrating a profanity detection API into your application:

‍

### Improving User Safety

By automatically filtering out offensive or inappropriate text content, you can help create a safe and respectful online community for your users.

‍

### Protecting your brand reputation

Allowing offensive or inappropriate content in your application can damage your brand reputation and alienate your user base. By integrating an NSFW identification API, you can help ensure that your brand remains in good standing and that users have a positive experience with your app.

‍

### Compliance with legal requirements

Some countries have laws that require companies to take action against certain types of offensive or inappropriate content, such as hate speech. Integrating a text moderation API can help ensure that you comply with these legal requirements.
‍

### Saving time and resources

Moderating user-generated text content manually can be a time-consuming and resource-intensive task. By using a text moderation API, you can automate this process and free up your team to focus on other tasks.

‍

Improving the user experience

By creating a safe and respectful online community, you can help improve the user experience and increase engagement and retention with your app.

‍

Overall, integrating a text moderation API can provide numerous benefits and help you create a more positive and engaging experience for your users.


## Some explicit content detection use cases

Explicit text detection can be useful in a variety of use cases, including:


- **Social Media**: Social media platforms often have large amounts of user-generated content, and explicit text can be a problem on these platforms. By integrating explicit text moderation, social media platforms can automatically flag and remove inappropriate or offensive content.
- **Online forums and communities**: Online forums and communities are often used for discussions on a variety of topics. Explicit text detection can help to ensure that discussions remain respectful and appropriate.
- **Customer support systems**: Customer support systems often involve interactions between customers and support representatives. Text moderation can help to ensure that interactions remain professional and appropriate.
- **E-commerce platforms**: E-commerce platforms often have customer reviews and feedback sections. Explicit text detection can help to ensure that customer reviews and feedback remain appropriate and do not contain offensive or inappropriate content.
- **Gaming platforms**: Gaming platforms often have chat functions and forums for players to communicate with each other. Explicit text detection can help to ensure that interactions between players remain respectful and appropriate.
- **Educational platforms:** Educational platforms often have discussion forums and student-generated content. Explicit text detection can help to ensure that student-generated content remains appropriate and does not contain offensive language.
‍

Overall, explicit text detection can be useful in a variety of use cases where it's important to maintain a safe and respectful online community.
‍

## How to use NSFW identification with Eden AI API? 

To perform NSFW identification, you'll need to create an account on Eden AI for free. Then, you'll be able to get your API key directly from the homepage with free credits offered by Eden AI.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6x38tmbyaru31qr0yl0m.png)

**[Get your API key for FREE](https://app.edenai.run/user/register?referral=text-moderation-feature-available)**

## **How Eden AI can help you?**

Eden AI is the future of AI usage in companies: our app allows you to call multiple AI APIs.


![Eden AI platform - Get your API key](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s67azd6nl51w7fs9fy2b.gif)
‍
- Centralized and fully monitored billing on Eden AI for all NLP APIs
- Unified API for all providers: simple and standard to use, quick switch between providers, access to the specific features of each provider
- Standardized response format: the JSON output format is the same for all suppliers thanks to Eden AI's standardization work. The response elements are also standardized thanks to Eden AI's powerful matching algorithms.
- The best Artificial Intelligence APIs of the market are available: big cloud providers (Google, AWS, Microsoft, and more specialized engines)
- Data protection: Eden AI will not store or use any data. Possibility to filter to use only GDPR engines.

‍

**[Create your Account on Eden AI](https://app.edenai.run/user/register?referral=text-moderation-feature-available)**