Natural language processing (NLP)
Synonyms: computational linguistics, language AI, semantic processing, NLU (natural language understanding), language understanding
Definition
Use cases
- 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.
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
- Apple’s Human Interface Guidelines (Machine Learning) — guidance on integrating machine learning into product experiences.
- NLPlanet's Awesome NLP Resources — a collection of beginner and advanced learning resources covering NLP concepts and implementation.

