Text Analysis
by Miha Kralj
Score: 50/100
favorite
share
Description
Category: Learning & Knowledge Management

The Text Analysis plugin provides writers and editors with real-time metrics on readability, structure, and style of their content. It offers a comprehensive suite of indicators, including word and sentence counts, syllable complexity, lexical diversity, and various readability formulas like Flesch Reading Ease and Gunning Fog Index. Additional features such as estimated reading and speaking times help assess the accessibility and presentation of text. This plugin is particularly useful for optimizing clarity and engagement in written communication, making it ideal for authors, educators, and content creators who aim to refine their work for diverse audiences.

Stats
31
stars
3,307
downloads
4
forks
410
days
63
days
64
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
6
total issues
0
open issues
6
closed issues
5
commits
Latest Version
2 months ago
Changelog

Code Improvements

  • Enhanced TypeScript type safety by removing all any types
  • Added proper interfaces and type annotations throughout the codebase
  • Improved error handling with try-catch blocks
  • Added null checks and optional chaining for better reliability

Performance Optimizations

  • Cached regex patterns to avoid recreation
  • Reduced duplicate text matching operations
  • Optimized string manipulation in time calculations
  • Added debounced updates for text changes

Architecture Improvements

  • Split large methods into smaller, focused functions
  • Extracted utility functions into TextUtils class
  • Improved encapsulation with private fields
  • Enhanced settings initialization
  • Added proper getter methods for metrics

UI Improvements

  • Reduced font size in analysis panel for better compactness
  • Maintained readability while showing more content
  • Improved table cell styling

Bug Fixes

  • Fixed TypeScript compiler errors
  • Improved regex pattern handling
  • Enhanced error handling in metric calculations

[1.1.0] - Initial Release

  • Initial version of Text Analysis plugin
  • Real-time text analysis features
  • Multiple readability metrics
  • Reading and speaking time calculations
README file from