curl --request POST \ --url https://whetdata.com/api/clean \ --header 'Content-Type: application/json' \ --data '{ "action": [ "clean" ], "text": "This is a sentance with speling and grammer erors that need to be fixed.", "ruleset": "product_review"}'
Copy
{ "success": true, "action": [ "clean" ], "ruleset": "product_review", "cleaned_text": "This is a sentence with spelling and grammar errors that need to be fixed."}
Actions
Clean
Fix spelling and grammar errors in your text.
POST
/
api
/
clean
Clean
Copy
curl --request POST \ --url https://whetdata.com/api/clean \ --header 'Content-Type: application/json' \ --data '{ "action": [ "clean" ], "text": "This is a sentance with speling and grammer erors that need to be fixed.", "ruleset": "product_review"}'
Copy
{ "success": true, "action": [ "clean" ], "ruleset": "product_review", "cleaned_text": "This is a sentence with spelling and grammar errors that need to be fixed."}
Automatically fix spelling and grammar errors in your text. This action analyzes your content and returns a corrected version with all spelling and grammar mistakes fixed.
{ "success": true, "action": ["clean"], "ruleset": "product_review", "cleaned_text": "This is a sentence with spelling and grammar errors that need to be fixed."}
curl -X POST https://whetdata.com/api/clean \ -H "x-api-key: whet_your_api_key_here" \ -H "Content-Type: application/json" \ -d '{ "action": ["clean"], "text": "This is a sentance with speling and grammer erors that need to be fixed.", "ruleset": "product_review" }'