Nashayest is a free and Open API for detecting illegal words in a sentence to ensure that the final sentence is safe for everyone.
The Nashayest database contains many illegal words in English and other languages (e.g Persian). All the illegal words found in your text will be provided to you, so you may do whatever you want with them.
You can see the Nashayest illegal words here
You can use it with curl
or any API platform like Postman
, or simply put it in your own app if you wish to.
$ curl https://nashayest.onrender.com/api_v1.0/?text=hello
If everything goes right you should see something like this.
{
"illegalWords":[],
"isIllegal":false
}
-
Provide a way to add new words -
Provide a way to update/delete words -
Use a better algorithm for finding words
The Nashayest project is under MIT license