Sentiment Analysis

Analyzes Sentiment in your Text

Input

Description

The tool analyzes a given text and precisely identifies its underlying sentiment, tone, or emotional expression. This powerful model delivers sentiment results categorized as Very positive, Positive, Neutral, Negative, or Very negative.

Applications

Sentiment Analysis: The tool is valuable for businesses and individuals to analyze the sentiment of customer feedback, social media comments, product reviews, and more.

Market Research: Researchers can use this tool to gauge public opinion and sentiment towards specific products, brands, or topics, aiding in market analysis.

Content Creation: Writers and content creators can utilize the model to understand the emotional tone of their writing, ensuring their message aligns with the intended sentiment.

How to use the task

  1. Provide the text you want to analyze for sentiment, tone, or emotional expression.

  2. Execute the tool to process the input text and obtain the sentiment results.

  3. The model will categorize the sentiment into five categories: Very positive, Positive, Neutral, Negative, or Very negative.

[1.0.0]:
First version
VersionAI ModelCreatedLink
1.0.009.07.2023

API

The REST API allows you to call the tool with the same costs as when running the tool. Please generate an Personal access token before using the REST API.

Parameters

  • text (Your text): Please input the text you would like to analyze using sentiment analysis
  • Call the REST API by cURL
    curl -v -H "Authorization: Bearer PERSONAL_ACCESS_TOKEN" https://api.anysolve.ai/rest/v1/u-806494eb1fbfb39f-sentiment-analysis/1.0.0?text=I%20absolutely%20loved%20the%20movie.
  • Install the package with pip
    python3 -m pip install anysolve
  • Run in python3
    import os
    from anysolve import AnySolve
    anysolve_token = os.environ.get('ANYSOLVE_PERSONAL_ACCESS_TOKEN') # Resolve your personal access token here
    client = AnySolve(anysolve_token)
    res = client.run('u-806494eb1fbfb39f-sentiment-analysis','1.0.0', {'text': 'I absolutely loved the movie.'})
    print(res)
  • Coming soon: Within AnySolve ChatComplete prompts you can use the following command to execute the task:
    /run('u-806494eb1fbfb39f-sentiment-analysis','1.0.0', text='I absolutely loved the movie.')