Open
Conversation
…ação no dashboard
- Added SentimentCache class to manage sentiment analysis caching, reducing redundant calculations. - Integrated caching into DashboardAnalytics for sentiment analysis by profile. - Updated get_sentiment_by_profile and get_date_range_data methods to utilize caching. - Enhanced data filtering capabilities with content type options (both, caption, comments). - Modified data_loader to format full text with clear sections for captions and comments. - Updated app.py to reflect changes in sentiment analysis methods and display cache status. - Reindexing script now clears sentiment cache before reindexing. - Added cache invalidation and statistics retrieval methods to SentimentCache.
…reate exports folder
…board and reports
- Updated `get_sentiment_by_profile` to handle None profiles, allowing analysis for all profiles. - Improved sentiment analysis and engagement trend calculations. - Refactored `generate_policy_recommendations` to accept profile filters and engagement thresholds. - Enhanced HTML generation for policy recommendations with better sentiment visualization. - Added debug logging for recommendations generation. - Updated dependencies in `pyproject.toml` to include `reportlab` for PDF generation. - Improved error handling and messaging in recommendation generation.
…r improved readability
…ndations and reporting
- Created a new test file `test_nltk_stopwords.py` to verify the integration with NLTK's stopwords for the Portuguese language. - Implemented functionality to check for existing stopwords and download them if necessary. - Added basic statistics output for the total number of stopwords and examples. - Combined NLTK stopwords with custom technical terms for enhanced filtering. - Included a filtering test on a sample text to demonstrate the effectiveness of the combined stopwords.
…TXT, and PDF formats
…anced delete functionality
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Analise de sentimento
Geração de relatório
Recomendação de Políticas