Lowercasing
"Apple", "apple" and "APPLE" are one word to you and three separate entries to a computer counting words. Lowercasing is the one-line fix — convert the text to a single case before anything else looks at it. It is the plainest example of a preprocessing step that buys something real by throwing information away.
What you gain and what you lose
Folding case collapses variants, so the vocabulary shrinks substantially on ordinary prose and each form's counts concentrate into one entry. The cost is that capitalisation carries meaning. "Apple" the company becomes "apple" the fruit, "US" becomes "us", and a named-entity recogniser that leaned on an initial capital to spot a name has lost its most useful clue. Case also marks emphasis and shouting, which sentiment work on reviews and social text can use.
When to do it
- Do it for search indexes, topic models and bag-of-words classifiers, where matching matters more than nuance — and apply the same transformation to the query.
- Skip it for named-entity recognition, part-of-speech tagging and anything that leans on proper nouns.
- With a pretrained model the decision is already made: BERT ships cased and uncased variants, and lowercasing input for a cased model just puts it out of distribution.
Why it matters
Lowercasing is the simplest instance of the trade that governs the whole preprocessing pipeline: every normalisation step makes the data smaller and more consistent while deleting a distinction some later task needed. Done deliberately, and matched between training and inference, it is free accuracy for count-based methods. Done by reflex — a lowercasing call left at the top of a script whose job later became entity extraction — it removes a signal nobody notices is gone, because nothing fails; the numbers just come out worse.
Lowercasing converts text to a single case so that "Apple", "apple" and "APPLE" count as one token, shrinking the vocabulary and concentrating counts. It also discards a real signal: capitalisation distinguishes proper nouns and marks emphasis, so entity recognition and tagging suffer under it. Apply it to search indexes and bag-of-words models, consistently across training and query, and skip it wherever case carries meaning.
You read "APPLE", "Apple" and "apple" as one word in three outfits. A computer counting words sees three unrelated things. Lowercasing is the simple habit of turning everything into small letters before any counting starts, so the three become one.
That makes searching behave the way you expect — type "paris" and find "Paris". But it throws something away as well. The capital letter in "Apple" was the hint that the sentence meant the company and not the fruit, and a program hunting for names has just lost its best clue. Handy for matching; harmful when the capitals were telling you something.