""" Utility functions for text processing. """ def letter_counter(word, letter): """Count the occurrences of a specific letter in a word.""" return word.lower().count(letter.lower())