A lightweight JavaScript utility and web interface designed to analyze text arrays for palindrome breaks and repeated phrases using efficient sliding window algorithms.
- Palindrome Validation (
isPalindrome): Case-insensitive check to determine if a word reads the same forwards and backwards. - Break Detection (
findPalindromeBreaks): Scans an array of words and returns the exact indices of non-palindrome entries. - Phrase Frequency Analysis (
findRepeatedPhrases): Detects consecutive word sequences (phrases) of a given length that appear more than once (fully supporting overlapping sequences). - Batch Processing (
analyzeTexts): Aggregates palindrome checks and phrase repetitions across multiple text datasets. - Interactive Web UI: A clean, dark-themed dashboard to test texts visually in real-time.
- Clone the repository:
git clone [https://github.com/amirag9494/proofreading-tool.git](https://github.com/YOUR_USERNAME/proofreading-tool.git) cd proofreading-tool