Skip to content

[Feature]: add Top 5 Word Frequency analysis to Text Summary #216

@Rahma5983

Description

@Rahma5983

Issue Description
Currently, the "Your Text Summary" section provides basic quantitative data like total word count, character count, and reading time. I propose adding a Word Frequency Counter to provide qualitative insights. This feature will analyze the input text and identify the top 5 most frequently used words.

Expected Behavior
Analysis: When a user enters text, the app should calculate which words appear most often.

Display: A new card or list should appear in the "Your Text Summary" area showing the top 5 words and their respective counts (e.g., "Example: 5 times").

UI Consistency: The new section should use the existing glassmorphism and Tailwind CSS styling to match the "Words" and "Characters" cards.

Steps To Reproduce (Feature Implementation Plan)
Navigate to the main text input area.

Implement a JavaScript logic to tokenize input text and count word occurrences.

Filter results to find the top 5 unique words.

Render the results dynamically in the Summary section so they update as the user types.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions