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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file gpt4all-tone-0.23.tar.gz.

File metadata

  • Download URL: gpt4all-tone-0.23.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for gpt4all-tone-0.23.tar.gz
Algorithm Hash digest
SHA256 7f8ab377a00456cbe0e2b94b4043b4a991f615abda89207b97b8c7339ce9c6ea
MD5 c422535354c481910488bc05751c0a02
BLAKE2b-256 382ab8b3e7a359f8cabb91cc83503f32518cc2fce997946e77074994925c32f6

See more details on using hashes here.

File details

Details for the file gpt4all_tone-0.23-py3-none-any.whl.

File metadata

  • Download URL: gpt4all_tone-0.23-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for gpt4all_tone-0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 12557ea991d209a3490c15c6dbd45c371d9b6606c63c2fc18f187436c4d6c3a6
MD5 807e67e62559847d8d3bdc310605db15
BLAKE2b-256 d13a7b210a0c9cf62e0eba8aa0547efd3a9e967c9b5407fae7fa56ae781c686f

See more details on using hashes here.

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