Datasets:
sentence stringclasses 191
values | word stringclasses 302
values | label stringclasses 3
values |
|---|---|---|
Yaar tension mat lo and the deadline is tomorrow | Yaar | URD |
Yaar tension mat lo and the deadline is tomorrow | tension | ENG |
Yaar tension mat lo and the deadline is tomorrow | mat | URD |
Yaar tension mat lo and the deadline is tomorrow | lo | URD |
Yaar tension mat lo and the deadline is tomorrow | and | ENG |
Yaar tension mat lo and the deadline is tomorrow | the | ENG |
Yaar tension mat lo and the deadline is tomorrow | deadline | ENG |
Yaar tension mat lo and the deadline is tomorrow | is | ENG |
Yaar tension mat lo and the deadline is tomorrow | tomorrow | ENG |
Ye traffic bilkul insane hai lekin I overslept again today | Ye | URD |
Ye traffic bilkul insane hai lekin I overslept again today | traffic | ENG |
Ye traffic bilkul insane hai lekin I overslept again today | bilkul | URD |
Ye traffic bilkul insane hai lekin I overslept again today | insane | ENG |
Ye traffic bilkul insane hai lekin I overslept again today | hai | URD |
Ye traffic bilkul insane hai lekin I overslept again today | lekin | URD |
Ye traffic bilkul insane hai lekin I overslept again today | I | ENG |
Ye traffic bilkul insane hai lekin I overslept again today | overslept | ENG |
Ye traffic bilkul insane hai lekin I overslept again today | again | ENG |
Ye traffic bilkul insane hai lekin I overslept again today | today | ENG |
Kal ka din bohot acha tha aur had 3 meetings back to back | Kal | URD |
Kal ka din bohot acha tha aur had 3 meetings back to back | ka | URD |
Kal ka din bohot acha tha aur had 3 meetings back to back | din | URD |
Kal ka din bohot acha tha aur had 3 meetings back to back | bohot | URD |
Kal ka din bohot acha tha aur had 3 meetings back to back | acha | URD |
Kal ka din bohot acha tha aur had 3 meetings back to back | tha | URD |
Kal ka din bohot acha tha aur had 3 meetings back to back | aur | URD |
Kal ka din bohot acha tha aur had 3 meetings back to back | had | ENG |
Kal ka din bohot acha tha aur had 3 meetings back to back | 3 | ENG |
Kal ka din bohot acha tha aur had 3 meetings back to back | meetings | ENG |
Kal ka din bohot acha tha aur had 3 meetings back to back | back | ENG |
Kal ka din bohot acha tha aur had 3 meetings back to back | to | ENG |
Kal ka din bohot acha tha aur had 3 meetings back to back | back | ENG |
Sab kuch theek chal raha hai lekin I need a break honestly | Sab | URD |
Sab kuch theek chal raha hai lekin I need a break honestly | kuch | URD |
Sab kuch theek chal raha hai lekin I need a break honestly | theek | URD |
Sab kuch theek chal raha hai lekin I need a break honestly | chal | URD |
Sab kuch theek chal raha hai lekin I need a break honestly | raha | URD |
Sab kuch theek chal raha hai lekin I need a break honestly | hai | URD |
Sab kuch theek chal raha hai lekin I need a break honestly | lekin | URD |
Sab kuch theek chal raha hai lekin I need a break honestly | I | ENG |
Sab kuch theek chal raha hai lekin I need a break honestly | need | ENG |
Sab kuch theek chal raha hai lekin I need a break honestly | a | ENG |
Sab kuch theek chal raha hai lekin I need a break honestly | break | ENG |
Sab kuch theek chal raha hai lekin I need a break honestly | honestly | ENG |
Kal raat neend hi nahi aayi phir can we reschedule the call | Kal | URD |
Kal raat neend hi nahi aayi phir can we reschedule the call | raat | URD |
Kal raat neend hi nahi aayi phir can we reschedule the call | neend | URD |
Kal raat neend hi nahi aayi phir can we reschedule the call | hi | URD |
Kal raat neend hi nahi aayi phir can we reschedule the call | nahi | URD |
Kal raat neend hi nahi aayi phir can we reschedule the call | aayi | URD |
Kal raat neend hi nahi aayi phir can we reschedule the call | phir | URD |
Kal raat neend hi nahi aayi phir can we reschedule the call | can | ENG |
Kal raat neend hi nahi aayi phir can we reschedule the call | we | ENG |
Kal raat neend hi nahi aayi phir can we reschedule the call | reschedule | ENG |
Kal raat neend hi nahi aayi phir can we reschedule the call | the | ENG |
Kal raat neend hi nahi aayi phir can we reschedule the call | call | ENG |
Yaar kuch samajh nahi aa raha, still not prepared at all | Yaar | URD |
Yaar kuch samajh nahi aa raha, still not prepared at all | kuch | URD |
Yaar kuch samajh nahi aa raha, still not prepared at all | samajh | URD |
Yaar kuch samajh nahi aa raha, still not prepared at all | nahi | URD |
Yaar kuch samajh nahi aa raha, still not prepared at all | aa | URD |
Yaar kuch samajh nahi aa raha, still not prepared at all | raha | URD |
Yaar kuch samajh nahi aa raha, still not prepared at all | still | ENG |
Yaar kuch samajh nahi aa raha, still not prepared at all | not | ENG |
Yaar kuch samajh nahi aa raha, still not prepared at all | prepared | ENG |
Yaar kuch samajh nahi aa raha, still not prepared at all | at | ENG |
Yaar kuch samajh nahi aa raha, still not prepared at all | all | ENG |
Ye traffic bilkul insane hai but this project is due Friday | Ye | URD |
Ye traffic bilkul insane hai but this project is due Friday | traffic | ENG |
Ye traffic bilkul insane hai but this project is due Friday | bilkul | URD |
Ye traffic bilkul insane hai but this project is due Friday | insane | ENG |
Ye traffic bilkul insane hai but this project is due Friday | hai | URD |
Ye traffic bilkul insane hai but this project is due Friday | but | ENG |
Ye traffic bilkul insane hai but this project is due Friday | this | ENG |
Ye traffic bilkul insane hai but this project is due Friday | project | ENG |
Ye traffic bilkul insane hai but this project is due Friday | is | ENG |
Ye traffic bilkul insane hai but this project is due Friday | due | ENG |
Ye traffic bilkul insane hai but this project is due Friday | Friday | ENG |
Mujhe bilkul time nahi mila, I have zero motivation today | Mujhe | URD |
Mujhe bilkul time nahi mila, I have zero motivation today | bilkul | URD |
Mujhe bilkul time nahi mila, I have zero motivation today | time | ENG |
Mujhe bilkul time nahi mila, I have zero motivation today | nahi | URD |
Mujhe bilkul time nahi mila, I have zero motivation today | mila | URD |
Mujhe bilkul time nahi mila, I have zero motivation today | I | ENG |
Mujhe bilkul time nahi mila, I have zero motivation today | have | ENG |
Mujhe bilkul time nahi mila, I have zero motivation today | zero | ENG |
Mujhe bilkul time nahi mila, I have zero motivation today | motivation | ENG |
Mujhe bilkul time nahi mila, I have zero motivation today | today | ENG |
Ammi ne kaha ghar jaldi aa jao phir the deadline is tomorrow | Ammi | URD |
Ammi ne kaha ghar jaldi aa jao phir the deadline is tomorrow | ne | URD |
Ammi ne kaha ghar jaldi aa jao phir the deadline is tomorrow | kaha | URD |
Ammi ne kaha ghar jaldi aa jao phir the deadline is tomorrow | ghar | URD |
Ammi ne kaha ghar jaldi aa jao phir the deadline is tomorrow | jaldi | URD |
Ammi ne kaha ghar jaldi aa jao phir the deadline is tomorrow | aa | URD |
Ammi ne kaha ghar jaldi aa jao phir the deadline is tomorrow | jao | URD |
Ammi ne kaha ghar jaldi aa jao phir the deadline is tomorrow | phir | URD |
Ammi ne kaha ghar jaldi aa jao phir the deadline is tomorrow | the | ENG |
Ammi ne kaha ghar jaldi aa jao phir the deadline is tomorrow | deadline | ENG |
Ammi ne kaha ghar jaldi aa jao phir the deadline is tomorrow | is | ENG |
Ammi ne kaha ghar jaldi aa jao phir the deadline is tomorrow | tomorrow | ENG |
Code-Switching Dataset: Roman Urdu ↔ English (Pakistan)
Dataset Description
This dataset contains 191 naturally code-switched Roman Urdu–English sentences** (well above the 150 minimum) blending Roman Urdu and English, the way Pakistani speakers actually write online. Every word in every sentence is labelled at the token level, making this a word-level sequence labelling / language identification dataset for code-switched text.
Roman Urdu–English mixing is extremely common in Pakistani digital communication (Twitter/X, Reddit, YouTube comments, WhatsApp, Facebook) but is poorly handled by most existing NLP models, which are trained on monolingual corpora. This dataset is a small step toward closing that gap.
How it was collected
The dataset combines two sources:
- 180 constructed sentences built from common Roman Urdu clauses ("Aaj mera mood nahi hai", "Bhai kal mera presentation hai") combined with everyday English clauses ("still not prepared at all", "I was literally waiting for you") in natural conjunction patterns, plus additional hand-written naturalistic examples.
- 11 real sentences collected from the author's own WhatsApp chats (covering casual, academic/FYP-related, and tech-support conversation), manually redacted of names and identifying details before inclusion.
No personally identifying information is included in either source.
Dataset Structure
Flat CSV, one row per word:
| column | description |
|---|---|
sentence |
the full original mixed-language sentence |
word |
a single token from that sentence |
label |
URD, ENG, or MIX — see below |
Label Meanings
- URD — the word is Roman Urdu (e.g.
bohot,nahi,hai,karna) - ENG — the word is English (e.g.
meeting,honestly,deadline) - MIX — a hybrid/ambiguous token: typically an English loanword used
inside an Urdu grammatical frame (e.g.
presentation,mood,sceneappearing mid-Urdu-clause), or a word whose language identity is genuinely ambiguous without broader context
Stats
- 191 unique sentences (180 constructed + 11 collected from real WhatsApp chats)
- 2,025 word-level labelled entries
- Roughly balanced ENG/URD split (~1,000 each), with a smaller set of MIX tokens capturing loanword code-mixing specifically
Intended Use
- Training/evaluating token-level language identification models for code-switched Roman Urdu–English text
- Pretraining data augmentation for Pakistani-English NLP tools
- Linguistic research on code-switching patterns
Limitations
- Sentences are representative/naturalistic constructions rather than a raw scrape of live social media, so they may not capture every dialectal variation, spelling inconsistency, or platform-specific slang found in the wild. Users building production systems should supplement with real, consented social-media data.
- Roman Urdu has no standardized spelling — this dataset uses common transliteration conventions but variants exist.
Author
Author: Uswa Fatima Code Saviours SI-26, Project 2
- Downloads last month
- -