Transform
Transforms words to their various other forms, which is useful for normalizing text or for natural language generation.
Noun Singularization and Pluralization
Transforms a noun to its various forms.
Request
Parameter | Type | Values |
---|---|---|
word (required) | String | The word value may be:
|
action (required) | String | The action value may be:
|
pretty | Boolean | Pretty print the response. Useful for debugging. The pretty value may be:
|
Response
Returns the transformed noun.
Example
https://api.plasticity.ai/sapien/transformGETPOST
Verb Conjugations
Transforms a verb to its various forms.
Request
Parameter | Type | Values |
---|---|---|
word (required) | String | The word value may be:
|
action (required) | String | The action value may be:
|
pretty | Boolean | Pretty print the response. Useful for debugging. The pretty value may be:
|
Response
Returns the transformed verb.
Examples
https://api.plasticity.ai/sapien/transformGETPOST
https://api.plasticity.ai/sapien/transformGETPOST
Adjective Transformations
Transforms an adjective to its various forms.
Request
Parameter | Type | Values |
---|---|---|
word (required) | String | The word value may be:
|
action (required) | String | The action value may be:
|
pretty | Boolean | Pretty print the response. Useful for debugging. The pretty value may be:
|
Response
Returns the transformed adjective.
Example
https://api.plasticity.ai/sapien/transformGETPOST
Adverb Transformations
Transforms an adverb to its various forms.
Request
Parameter | Type | Values |
---|---|---|
word (required) | String | The word value may be:
|
action (required) | String | The action value may be:
|
pretty | Boolean | Pretty print the response. Useful for debugging. The pretty value may be:
|
Response
Returns the transformed adverb.
Example
https://api.plasticity.ai/sapien/transformGETPOST