Skip to content

Commit

Permalink
fix ci failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kmarker1101 committed Jun 25, 2024
1 parent a79d868 commit bb11561
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions exercises/practice/parallel-letter-frequency/.meta/example.el
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
(require 'cl-lib)

(defun clean-text (text)
"Clean up the text by removing spaces, tabs, numbers and converting to lowercase."
(downcase (replace-regexp-in-string "[^[:alpha:]]" "" text)))
"Clean up the text by removing numbers, punctuation, and whitespace, but keeping alphabetic characters (including Unicode) and converting to lowercase."
(let ((cleaned-text (replace-regexp-in-string "[^[:alpha:]]" "" text)))
(downcase cleaned-text)))

(defun combine-frequencies (freqs-list)
"Combine a list of frequency hash tables into a single hash table."
Expand Down

0 comments on commit bb11561

Please sign in to comment.