============================================================
 WORD FREQUENCY COUNTER (MODULE 2 CAPSTONE) - Demo Run
============================================================

--- Cleaning and tokenizing ---
  ['hello', 'world', 'this', 'is', 'pythons', 'toolkit']

--- dict-based vs Counter-based counting ---
  dict-based count of 'the': 8
  Counter-based count of 'the': 8
  Results match: True

--- Stopword filtering ---
  Before filtering: 19 unique words
  After filtering:  17 unique words

--- Top N words ---
  the: 8
  fox: 3
  dog: 3
  quick: 1
  brown: 1

--- Text statistics ---
  {'total_words': 30, 'unique_words': 19, 'avg_word_length': 3.73}

--- Full formatted report ---
=== TEXT ANALYSIS REPORT ===
Total words: 30
Unique words: 19
Average word length: 3.73

Top 5 words:
  the          8
  fox          3
  dog          3
  quick        1
  brown        1

============================================================
 Assignment: comparing vocabulary between two texts
============================================================
  Words distinctly more common in the STORY text: ['dog', 'fox', 'quick', 'up', 'lazy']
  Words distinctly more common in the TECH text:  ['function', 'data', 'calls', 'another', 'validate']
