An interactive web application for analyzing text data with visualizations and natural language processing.
The app is automatically deployed to GitHub Pages: https://theonehyer.github.io/InteractiveTextAnalyzer/
- Comprehensive Reporting - All-in-one report with executive summary, content analysis, comparative analysis, and actionable insights
- Text analysis with natural language processing
- Multiple visualization types (Word Cloud, Network Graph, Heatmap, Charts)
- CSV and XLSX data import and export
- Dark/Light theme support
- Responsive design
To run the application locally:
cd interactivetextanalyzer
npm install
npm run devThe app will be available at http://localhost:61201
To build the application for production:
cd interactivetextanalyzer
npm run buildThe built files will be in the interactivetextanalyzer/dist directory.
The project includes comprehensive unit tests for utility functions and components.
To run tests:
cd interactivetextanalyzer
npm testAdditional test commands:
# Run tests in watch mode
npm test
# Run tests once
npm run test:run
# Run tests with UI
npm run test:ui
# Run tests with coverage report
npm run test:coverageTest coverage includes:
- Tokenization and text processing utilities
- TF-IDF calculation
- N-gram generation
- Association rule mining
- React components (Heatmap, NetworkGraph, WordCloud)
- Main App component integration tests
The application is automatically deployed to GitHub Pages when changes are pushed to the master branch. The deployment workflow:
- Installs dependencies
- Builds the React application with Vite
- Uploads the build artifacts
- Deploys to GitHub Pages
The deployment workflow can also be triggered manually from the Actions tab.
The Report tab provides a comprehensive all-in-one analysis report that automatically aggregates results from all analysis types. Located between the Analyzer and Wiki tabs in the navigation sidebar.
- Sentiment Distribution: Pie chart showing positive, negative, and neutral sentiment percentages
- Key Topics & Themes: Top identified topics with their representative terms
- Top Keywords: Bar chart of most significant terms by TF-IDF score
- Readability Metrics: Overview of text complexity with plain-language interpretations
- Named Entities: Organizations, locations, and people mentioned in the text
- Parts of Speech Distribution: Grammatical composition analysis
- Sentiment by Category: Breakdown of sentiment across different content areas
- Text Complexity Metrics: Radar chart comparing all 6 readability algorithms
- Statistical Summary: Document count, token count, unique terms, and averages
- Sentiment Concerns: Warnings when significant negative sentiment is detected
- Readability Notices: Alerts for unusually high or low text complexity
- Primary Focus Areas: Summary of dominant topics and themes
- Recurring Themes: Highlights of most frequent terms and patterns
- Print Report: Functional browser print for PDF generation
- Export to PDF (coming soon)
- Export to PowerPoint (coming soon)
- Export to CSV (coming soon)
- Automatically generates from available analysis results
- Lazy loaded for optimal performance
- Responsive design adapts to all screen sizes
- Print-friendly CSS for report generation
See REPORT_FEATURE_SUMMARY.md for detailed implementation documentation.
Additional implementation guides and visual documentation can be found in the docs/implementation-guides directory.