Skip to content

Khansa-Mehmood/text-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Text Processor

A sleek, responsive web application designed to analyze text metrics, clean up spelling typos, and enforce grammatical sentence structures instantly. Built entirely using standard modern frontend web technologies.

🚀 Features

  • Precise Spelling Patch: Uses an optimized target dictionary map to instantly intercept and correct common academic, coding, and formatting typos.
  • Smart Punctuation Engine: Automatically enforces standard sentence casing (capitalizes the first letter) and appends a terminal period (.) if missing.
  • Real-Time Analytics: Instantly tallies and displays core structural metrics using an integrated console dashboard panel.
    • Vowels
    • Consonants
    • Digits
    • Spaces
  • Input Validation: Built-in safeguards against empty text inputs, stray spacing, and double punctuation symbols.
  • Export Functionality: Generates and downloads a clean, formatted plain text report (.txt) containing the processed sentence and full metric analysis.

🛠️ Tech Stack

  • HTML5: Structures the interactive input canvas and the analytics metrics dashboard cards.
  • CSS3: Delivers a clean interface theme using modern layouts, grid structures, and interactive animations.
  • JavaScript (ES6+): Manages real-time string tokenization, precise lookup mapping, and automated punctuation parsing.

📂 Project Structure

TextProcessor/
│
├── index.html   # Application window structure
├── style.css    # Typography & responsive layout sheets
└── script.js    # Metric counters & token map correction logic

About

A web app that counts text metrics (vowels, consonants, digits, spaces) and automatically fixes common spelling typos, spaces, and capitalization without any backend server or API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors