# Enrichments/Classification Text enrichment APIs offer various enrichment functions that take the raw text as its input and provides a specific enrichment/feature corresponding to the input text. An enrichment function is idempotent and its output is determined by the input text and the underlying predictive (deep learning based) linguistic model. Some examples of these include text based sentiment, readability calculation etc. Most of the underlying methods can be used either using a "GET" or a "POST" HTTP method. For smaller text, the GET method offers better performance and allows for network optimizations such as caching. ## Sentiment classification - [POST /text/enrichment/sentiment/llm](https://marcie.redocly.app/openapi/text-generative-ai/paths/~1text~1enrichment~1sentiment~1llm/post.md): Multilingual sentiment classification using LLM models.. ## Plain Language Rewrite (EXPERIMENTAL) - [POST /text/enrichment/plainlang/rewrite](https://marcie.redocly.app/openapi/text-generative-ai/paths/~1text~1enrichment~1plainlang~1rewrite/post.md): Rewrite the given text to be more easier to read and comprehend. ## Readability Rewrite (EXPERIMENTAL) - [POST /text/enrichment/readability/rewrite](https://marcie.redocly.app/openapi/text-generative-ai/paths/~1text~1enrichment~1readability~1rewrite/post.md): Rewrite the given text to be suitable for an 8th Grader. ## Tone classification - [POST /text/enrichment/tone](https://marcie.redocly.app/openapi/text-generative-ai/paths/~1text~1enrichment~1tone/post.md): Multilingual tone classification using LLM models.. ## Sentiment Rewrite (EXPERIMENTAL) - [POST /text/enrichment/sentiment/rewrite](https://marcie.redocly.app/openapi/text-generative-ai/paths/~1text~1enrichment~1sentiment~1rewrite/post.md): Rewrite the original text to have a more positive sentiment. ## Sentiment - [GET /text/enrichment/sentiment](https://marcie.redocly.app/openapi/enrichmentsclassification/paths/~1text~1enrichment~1sentiment/get.md): Perform sentiment analysis based on the given content (recommend for short content). Support English, French and Spanish. ## Sentiment - [POST /text/enrichment/sentiment](https://marcie.redocly.app/openapi/enrichmentsclassification/paths/~1text~1enrichment~1sentiment/post.md): Perform sentiment analysis based on the given content (recommend for long content). Support English, French and Spanish. ## Sentiment classification - [POST /text/enrichment/sentiment/llm](https://marcie.redocly.app/openapi/enrichmentsclassification/paths/~1text~1enrichment~1sentiment~1llm/post.md): Multilingual sentiment classification using LLM models.. ## Plain Language Rewrite (EXPERIMENTAL) - [POST /text/enrichment/plainlang/rewrite](https://marcie.redocly.app/openapi/enrichmentsclassification/paths/~1text~1enrichment~1plainlang~1rewrite/post.md): Rewrite the given text to be more easier to read and comprehend. ## Readability Rewrite (EXPERIMENTAL) - [POST /text/enrichment/readability/rewrite](https://marcie.redocly.app/openapi/enrichmentsclassification/paths/~1text~1enrichment~1readability~1rewrite/post.md): Rewrite the given text to be suitable for an 8th Grader. ## Tone classification - [POST /text/enrichment/tone](https://marcie.redocly.app/openapi/enrichmentsclassification/paths/~1text~1enrichment~1tone/post.md): Multilingual tone classification using LLM models.. ## Sentiment Rewrite (EXPERIMENTAL) - [POST /text/enrichment/sentiment/rewrite](https://marcie.redocly.app/openapi/enrichmentsclassification/paths/~1text~1enrichment~1sentiment~1rewrite/post.md): Rewrite the original text to have a more positive sentiment. ## Readability - [GET /text/enrichment/readability](https://marcie.redocly.app/openapi/enrichmentsclassification/paths/~1text~1enrichment~1readability/get.md): Compute readability scores by different criteria based on the given English content (recommend for short content) ## Readability - [POST /text/enrichment/readability](https://marcie.redocly.app/openapi/enrichmentsclassification/paths/~1text~1enrichment~1readability/post.md): Compute readability scores by different criteria based on the given English content (recommend for long content)