Skip to content

Rude Word Detector

For a certain concern, e.g information filtering for children, identifying text that contains rude words becomes very crucial. The Rude Word Detector can be used for this purpose in an easy way by entering text input in the form of a sentence or paragraph. After that, the module will give output regarding rude words and its confidence score.

Illustration

Rude Speech

Request Method

POST

Request URL

1
https://api.prosa.ai/v2/text/rude

Request Header

Key DataType Description Value
Content-Type string Media type of the body sent to the API. Only Support 'application/json' application/json
x-api-key string API Key Acquired from Prosa API Console [YOUR_API_KEY]

Request Body

The request body accepts the following parameter(s) in JSON format.

Parameter DataType Description Auto Required
text string text True

Example

Sample Request (JSON)

1
2
3
{
    "text": "Dasar anjing kau!"
}

Sample Response Body (JSON)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
[
    {
        "tokens": [
            {
                "token": "Dasar",
                "rude": false,
                "confidence": 0.9999991059303284
            },
            {
                "token": "anjing",
                "rude": true,
                "confidence": 0.9999970197677612
            },
            {
                "token": "kau!",
                "rude": false,
                "confidence": 0.9999757409095764
            }
        ]
    }
]

Free trial

Are you interested in our API? Click the button below and get your free trial now.

try now

Version History

Below is the version history of our Rude Speech Detector API.

Version Accuracy Test Data
1.0 91.51% +- 2,500 Token
2.0 90.39% +- 10,000 Token

Questions?

We do our best to make this documentation clear and user friendly, but if you have unanswered questions, please send email to support@prosa.ai.