Back to Glossary

Natural language processing (NLP)

Synonyms: computational linguistics, language AI, semantic processing, NLU (natural language understanding), language understanding

Do not index

Definition

NLP is how machines read, interpret, and respond to human language, typed or spoken. It powers things like typo-tolerant search, chatbots, voice assistants, and AI-generated responses. In UX, NLP affects how naturally users can communicate with a product and how accurately the system understands them.

Use cases

Without good NLP, products often feel rigid or confusing. Small input mistakes can quickly break the experience.
  • Smart search: Using "fuzzy matching" so users find what they need even if they don't use the exact keyword found in your design system.
  • Sentiment analysis: Automatically sorting customer feedback by "frustrated" or "happy" to help user research teams prioritize fixes.
  • Conversational UI: Building chatbots that can follow context across multiple messages instead of repeating generic fallback responses.

How it's used in practice

  • Map intent before screens: List the top 10 phrasings users actually use, pulled from real support tickets or search logs.
  • Design for failure first: Fallback responses matter because language models regularly misunderstand unclear or incomplete inputs.
  • Pair outputs with confirmation UI: Don't auto-execute on ambiguous input. Show what the system understood and let users correct it.
  • Test with messy inputs: Slang, typos, half-sentences, emoji. If the system struggles, write fallback copy that still feels helpful.
🪄
Pro tip: Log every "I didn't understand" event with the original user input. Those logs often reveal gaps in both the model and the product’s microcopy.

Challenges & limitations

  • Context blindness: NLP systems often struggle with sarcasm, slang, or regional dialects, which can lead to inaccurate responses.
  • Data bias: If the training data is limited or unbalanced, the system may struggle with different languages, cultures, or communication styles.

Free resources

 
notion image

Share this post

Get free UX resources

Get portfolio templates, list of job boards, UX step-by-step guides, and more.

Download for FREE
 
 
 

The best email 📮 for growing 🌱 designers

 
Honest notes about the work behind the work. Read in 2 minutes, weekly. Free forever.
 
 
     
    notion image
     
    Join 13,045 designers and get tactics, hacks, and tips.