Classifies the Document as spam or nospam

POST {{baseUrl}}/SpamDetection.json

The Spam Detection function labels documents as spam or nospam by taking into account their context. It can be used to filter out spam emails and comments.