Which to use
“lex” is a verb and “li” is a noun - they look or sound alike but fill different roles in a sentence.
- #14,983
- “lex” frequency rank
- #4,685
- “li” frequency rank
- 19668
- confusion score
Side-by-Side Comparison
| Feature | lex | li |
|---|---|---|
| Definition | To perform lexical analysis; to convert a character stream to a token stream as a preliminary to parsing. | The Chinese mile, a traditional unit of distance equal to 1500 chis or 150 zhangs, now standardized as a half-kilometer (500 meters). |
Where the eye mixes lex and li
Muted = shared; highlighted = the visual trap. They share 1 letter in sequence.
Why the eye confuses lex with li
These two trip readers on the page rather than in the ear: lex is /lɛks/ while li is /liː/. Spoken aloud the problem disappears. In writing it persists, because they differ by 1 letter(s) in length, and the parts of speech differ too (verb vs noun), which is usually the fastest check. Our composite confusion score for this pair is 19668, derived from the frequency rank of both members and their visual similarity.
lex is recorded at frequency rank #14,983, classified as averb, pronounced /lɛks/. li is at rank #4,685, tagged as anoun, pronounced /liː/.
Glosses for this pair are partially populated in our dataset, but the full side-by-side definitions above should still guide you to the right choice.
With a confusion score of 19668, this pair ranks #436,560 of 530,003 scored English confusable pairs - a relatively easy-to-tell-apart pair.
Orthographic DNA of lex vs li
Shared letters: l. Private to "lex": ex. Private to "li": i.
"lex" · 3 letters · shape CVC · "li" · 2 letters · shape CV
Frequently Asked Questions
Is swapping "lex" for "li" ever safe?
In ordinary English text, does "lex" or "li" show up more?
What to do next
Eye-level mix-up between "lex" and "li" is sorted above. Next: full entries or other pairs that share a letter shape.
- Full dictionary entry for "lex" with definition, IPA, and generated misspellings. Word entry
- Full dictionary entry for "li" - compare definitions side by side with the headword page. Word entry
- This pair ranks #436,560 of 530,003 scored English confusable pairs in this corpus vintage. Corpus statistics
- "lex" and "li" also get mixed up with nearby pairs, the highest-scored neighbour is "lex vs LSC". Nearby pair
Confusion rank #436,560 of 530,003 scored English pairs, corpus vintage 2026-09-03, not spelling advice.