Skip to main content

A comprehensive tool for sentiment analysis and tone review, empowered by GPT4ALL.

Project description

GPT4ALL-Tone Analyzer

A comprehensive tool for sentiment analysis and tone review, empowered by GPT4ALL.

Installation

Use the following command to install gpt4all-tone:

pip install gpt4all-tone

or

pip3 install gpt4all-tone

Usage

You can use the ToneAnalyzer class to perform sentiment analysis on a given text. Here's a basic example of how you might use the ToneAnalyzer class:

from gpt4all_tone import ToneAnalyzer

# Create an instance of the ToneAnalyzer class
analyzer = ToneAnalyzer("orca-mini-3b.ggmlv3.q4_0.bin", "Wow it is great!")

# Run the analyzer
result = analyzer.run()

# Print the result
print(result)  # 1.0

In this example, we're analyzing the text "Wow it is great!" and the result is 1.0, indicating a positive sentiment.

Command Line Interface

You can also use the gpt4all-tone command line interface to analyze text:

gpt4all_tone "Wow it is great!"

Contact

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpt4all-tone-0.23.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

gpt4all_tone-0.23-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page