A Gentle Introduction to Natural Language Processing (NLP)
By Huzi
File #311 · 3 min read
When a computer reads your Urdu voice note, filters your spam, or translates a message for a cousin abroad, that's natural language processing — NLP, the field teaching machines human language. In English it works so well it has become boring; in our languages it's a harder, far more interesting story.
The quick answer: NLP splits into understanding (pulling meaning out of text) and generation (producing it), and large language models now run most of the machinery. The catch for us: the internet's training text is overwhelmingly English, so Urdu, Punjabi, Sindhi and Pashto remain the field's interesting frontier.
What NLP actually does
| Task | Direction | You already use it in |
|---|---|---|
| Spam filtering | Understanding | Gmail |
| Translation | Generation | Google Translate |
| Auto-captions | Understanding | YouTube |
| Chatbot replies | Generation | Your bank's website |
Understanding means pulling meaning out of text: is this review angry, is this email spam, who does "she" refer to in this sentence. Generation means producing sensible language: a reply, a summary, a translation.
The tasks have barely changed in thirty years; the machinery has changed completely, and large language models are now most of it.
Why Urdu is a different game
NLP is trained on text, and the internet's text is overwhelmingly English — Urdu's slice is small. The spoken reality is messier still: most Pakistanis write to each other in Roman Urdu sprinkled with English, a mixture no tidy grammar captures.
- Scripts: rich and hard — Urdu's Nastaliq alone defeats plenty of rendering systems.
- Tokenizers: the tools that chop text into model-sized pieces split Urdu into more fragments than English, which means longer prompts, higher costs, and more places to go wrong.
- Blind spots: a model that excels in English can still mangle a Sindhi sentence it has barely ever seen.
The gap is closing
This is the hopeful part. Meta's NLLB-200 project pushed machine translation into two hundred languages, including Sindhi and Pashto — the kind the industry long ignored — and SeamlessM4T extended the work to real-time speech translation.
Pakistan's own reported effort, Indus-1 — a language model fine-tuned for Urdu, Punjabi, Sindhi and Pashto, released with open weights by a university consortium — exists precisely because nobody else was going to prioritise us.
The practical uses are unglamorous and real: bank chatbots that answer in Urdu, school lessons explained in Punjabi, government forms that stop assuming English fluency.
Why it matters beyond convenience
A language that machines cannot process is a language locked out of the next generation of services — search, education, commerce. In a country where English is the language of the elite and everything important happens in everything else, decent NLP in our languages is not a luxury.
It decides whether the next wave of tools serves Pakistanis or skips them.
Pro tip: When you can, write to AI tools in plain Urdu script rather than Roman Urdu — mixing two scripts in one sentence gives tokenizers the worst of both worlds.
Meanwhile, the best language processing we know is still human: HTG Travels in Sialkot handles Urdu, Punjabi and English daily — visa cover letters, Umrah group instructions, translated document lists for parents travelling alone.
"Sumud" — staying, holding on — carries Palestine's whole story in five letters, and if you understand it, you already understand more than a machine can.
Machines translate; we make sure the meaning survives the embassy. If your file needs a cover letter that reads like a human wrote it — because a human did — the desk is +92 317 5054959 at HTG Travels.




