Analyze text sentiment using AI

Below is a free classifier that uses AI to analyze the sentiment of text. Outputs include positive, negative, and neutral.

text sentiment identifier

API Access


import nyckel

credentials = nyckel.Credentials("YOUR_CLIENT_ID", "YOUR_CLIENT_SECRET")
nyckel.invoke("text-sentiment-analyzer", "your_text_here", credentials)
            

fetch('https://www.nyckel.com/v1/functions/text-sentiment-analyzer/invoke', {
    method: 'POST',
    headers: {
        'Authorization': 'Bearer ' + 'YOUR_BEARER_TOKEN',
        'Content-Type': 'application/json',
    },
    body: JSON.stringify(
        {"data": "your_text_here"}
    )
})
.then(response => response.json())
.then(data => console.log(data));
            

curl -X POST \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer YOUR_BEARER_TOKEN" \
    -d '{"data": "your_text_here"}' \
    https://www.nyckel.com/v1/functions/text-sentiment-analyzer/invoke
            

How this classifier works

This free tool looks at any text input and analyzes it for sentiment. It'll tell you whether the text is positive, negative, or neutral. Request API access to analyze as many text rows as you need.

This pretrained text model uses the tweet_eval dataset and has 3 labels, including Negative, Neutral, & Positive.

We'll also show a confidence score (the higher the number, the more confident the AI model is around which emotion it is).

Whether you're just curious or building text sentiment detection into your application, we hope our classifier proves helpful.

Recommended Classifiers

Need to identify text sentiment at scale?

Get API or Zapier access to this classifier for free. It's perfect for:



  • Customer Support: Automatically categorize customer feedback from support tickets to prioritize urgent issues.

  • Marketing Teams: Analyze social media comments to gauge public sentiment about new product launches.

  • Media and Entertainment: Track audience reactions to content across platforms to adjust marketing strategies.

  • Healthcare: Assess patient feedback on services for quality control and improvement measures.

  • Finance: Screen investor communications for sentiment to better understand market trends

  • Customer Service Departments: Improve customer engagement by responding to tweets with negative sentiments more proactively.

  • eCommerce: Classify user reviews to identify product strengths and weaknesses.

Want this classifier for your business?

In just minutes you can automate a manual process or validate your proof-of-concept.

Get Access