Welcome to our Natural Language Processing (NLP) API documentation. This page provides an overview of the API features, usage, and examples.

Features

  • Text Classification: Classify text into predefined categories.
  • Sentiment Analysis: Determine the sentiment of a given text.
  • Entity Recognition: Identify and classify named entities in text.
  • Language Detection: Detect the language of a given text.

Usage

To use the NLP API, you need to make a GET request to the following URL:

https://api.example.com/en/api_documentation/nlp

You can also specify the language parameter to get results in a specific language:

https://api.example.com/en/api_documentation/nlp?language=es

Examples

Text Classification

{
  "text": "This is a great product!",
  "category": "positive"
}

Sentiment Analysis

{
  "text": "I am so disappointed with this service.",
  "sentiment": "negative"
}

Entity Recognition

{
  "text": "Apple Inc. is an American multinational technology company.",
  "entities": [
    {
      "entity": "Apple Inc.",
      "type": "ORGANIZATION"
    }
  ]
}

Language Detection

{
  "text": "Bonjour, comment ça va?",
  "language": "fr"
}

More Information

For more detailed information, please visit our API Documentation.

NLP API