janduplessis883 / tonetint_package

Quick sentiment analysis toolkit with advanced visualization, for Jupyter Notebook and Streamlit & Terminal.
https://pypi.org/project/tonetint/
MIT License
1 stars 0 forks source link

Update Documentation for Release 0.0.15 #2

Open janduplessis883 opened 2 months ago

janduplessis883 commented 2 months ago

Documentation to update

janduplessis883 commented 2 months ago

Release Notes for ToneTint v0.0.15

We are excited to announce the release of ToneTint v0.0.15, which includes new features to improve the customization and usability of text sentiment analysis output. This update introduces the ability to customize font settings and enhances the terminal output experience, providing better interactivity and visual feedback. Below is a comprehensive breakdown of the new features and updates included in this release.

New Features

1. Font and Font Size Customization for HTML Output

In this release, we have introduced two new parameters, font and font_size, allowing users to define custom fonts and font sizes for the generated HTML output. This provides greater flexibility in how the sentiment analysis results are displayed.

Usage Example:

# Initialize the ToneTint class with custom font and font size
tone_tint = ToneTint(font="Helvetica", font_size="16px")

Impact:

Updates

2. Enhanced display_terminal Function

The display_terminal function has been updated to provide a more polished and interactive output experience. In addition to displaying sentiment-colored text directly in the terminal, the function now generates a more refined HTML report that is automatically saved to the user's Downloads folder.

Key improvements include:

Usage Example:

# Analyze text and generate a terminal output with an HTML report
tone_tint.display_terminal("This is a test sentence for sentiment analysis.")

Sample Output in Terminal:

This is a test sentence for sentiment analysis.
The full analysis has been saved to: /path/to/Downloads/tonetint_output.html
Opening the file in your default browser...

Bug Fixes


Summary of Changes:

How to Upgrade

To upgrade to the latest version of ToneTint, run the following command:

pip install --upgrade tonetint

We hope these updates enhance your experience with ToneTint. As always, feedback and contributions are welcome. Feel free to open issues or submit pull requests on GitHub.

Thank you for using ToneTint!