Welcome to the /api/text_analysis API endpoint! This page provides a brief overview of the service and how it can be utilized.

Features

  • Text sentiment analysis
  • Language detection
  • Keyword extraction
  • Spam detection

Usage

To use this API, simply send a GET request to /api/text_analysis with the text you want to analyze in the request body. You can also specify a language style by appending it to the path, e.g., /en/text_analysis.

Example Request

GET /api/en/text_analysis
Content-Type: application/json

{
  "text": "I love programming!"
}

Response

The API will return a JSON object containing the analysis results. Here's an example response:

{
  "sentiment": "positive",
  "language": "English",
  "keywords": ["programming", "love"],
  "is_spam": false
}

Further Reading

For more information about the API and its capabilities, please visit our API Documentation.

Golden_Retriever