import click import requests import re from bs4 import BeautifulSoup from collections import Counter def fetch_html_content(url): """Fetches the HTML content of a webpage at a given URL.""" response = requests.get(url) response.raise_for_status() # raise an exception for non-200 status codes return response.text def extract_words_from_text(text, min_length=0): """Extracts all words from a given ..