Save 25%Black Friday: 25% off all plans — use code BLACKFRIDAY2026 at checkout. Ends Friday, Dec 4.Claim the deal

Given a paragraph of text s, identify and extract all valid words, normalize them, and return the 10 most frequent words (case-insensitive) along with their occurrence counts.

A word is defined as the longest possible sequence of consecutive English letters ('A' - 'Z' or 'a' - 'z'). Treat all non-letter characters as delimiters and ignore them.

Return up to 10 word-frequency pairs, each as a string represented [word, frequency]. Results should be ordered by descending frequency. For words with the same frequency, order them in ascending lexicographical order. If there are fewer than 10 unique words, return all available pairs.

Test Cases
Input
Output
Expected