Dataset Viewer
Auto-converted to Parquet Duplicate
sentence
stringclasses
150 values
word
stringlengths
1
15
label
stringclasses
2 values
Aaj ka din bohot busy tha, had 3 meetings back to back
Aaj
URD
Aaj ka din bohot busy tha, had 3 meetings back to back
ka
URD
Aaj ka din bohot busy tha, had 3 meetings back to back
din
URD
Aaj ka din bohot busy tha, had 3 meetings back to back
bohot
URD
Aaj ka din bohot busy tha, had 3 meetings back to back
busy
URD
Aaj ka din bohot busy tha, had 3 meetings back to back
tha,
URD
Aaj ka din bohot busy tha, had 3 meetings back to back
had
ENG
Aaj ka din bohot busy tha, had 3 meetings back to back
3
ENG
Aaj ka din bohot busy tha, had 3 meetings back to back
meetings
ENG
Aaj ka din bohot busy tha, had 3 meetings back to back
back
ENG
Aaj ka din bohot busy tha, had 3 meetings back to back
to
URD
Aaj ka din bohot busy tha, had 3 meetings back to back
back
ENG
Yaar seriously I can't even right now, bohot thak gaya hoon
Yaar
URD
Yaar seriously I can't even right now, bohot thak gaya hoon
seriously
URD
Yaar seriously I can't even right now, bohot thak gaya hoon
I
ENG
Yaar seriously I can't even right now, bohot thak gaya hoon
can't
URD
Yaar seriously I can't even right now, bohot thak gaya hoon
even
ENG
Yaar seriously I can't even right now, bohot thak gaya hoon
right
ENG
Yaar seriously I can't even right now, bohot thak gaya hoon
now,
ENG
Yaar seriously I can't even right now, bohot thak gaya hoon
bohot
URD
Yaar seriously I can't even right now, bohot thak gaya hoon
thak
ENG
Yaar seriously I can't even right now, bohot thak gaya hoon
gaya
URD
Yaar seriously I can't even right now, bohot thak gaya hoon
hoon
URD
Bhai kal mera presentation hai, still not prepared at all
Bhai
URD
Bhai kal mera presentation hai, still not prepared at all
kal
URD
Bhai kal mera presentation hai, still not prepared at all
mera
URD
Bhai kal mera presentation hai, still not prepared at all
presentation
URD
Bhai kal mera presentation hai, still not prepared at all
hai,
URD
Bhai kal mera presentation hai, still not prepared at all
still
ENG
Bhai kal mera presentation hai, still not prepared at all
not
ENG
Bhai kal mera presentation hai, still not prepared at all
prepared
ENG
Bhai kal mera presentation hai, still not prepared at all
at
ENG
Bhai kal mera presentation hai, still not prepared at all
all
ENG
Khana kha liya? I was literally waiting for you
Khana
URD
Khana kha liya? I was literally waiting for you
kha
URD
Khana kha liya? I was literally waiting for you
liya?
URD
Khana kha liya? I was literally waiting for you
I
ENG
Khana kha liya? I was literally waiting for you
was
ENG
Khana kha liya? I was literally waiting for you
literally
ENG
Khana kha liya? I was literally waiting for you
waiting
ENG
Khana kha liya? I was literally waiting for you
for
ENG
Khana kha liya? I was literally waiting for you
you
ENG
Mujhe abhi thora busy hoon, call you back in 5 minutes
Mujhe
URD
Mujhe abhi thora busy hoon, call you back in 5 minutes
abhi
URD
Mujhe abhi thora busy hoon, call you back in 5 minutes
thora
URD
Mujhe abhi thora busy hoon, call you back in 5 minutes
busy
URD
Mujhe abhi thora busy hoon, call you back in 5 minutes
hoon,
URD
Mujhe abhi thora busy hoon, call you back in 5 minutes
call
URD
Mujhe abhi thora busy hoon, call you back in 5 minutes
you
ENG
Mujhe abhi thora busy hoon, call you back in 5 minutes
back
ENG
Mujhe abhi thora busy hoon, call you back in 5 minutes
in
ENG
Mujhe abhi thora busy hoon, call you back in 5 minutes
5
ENG
Mujhe abhi thora busy hoon, call you back in 5 minutes
minutes
ENG
Honestly speaking, mujhe ye idea bilkul pasand nahi aaya
Honestly
URD
Honestly speaking, mujhe ye idea bilkul pasand nahi aaya
speaking,
ENG
Honestly speaking, mujhe ye idea bilkul pasand nahi aaya
mujhe
URD
Honestly speaking, mujhe ye idea bilkul pasand nahi aaya
ye
URD
Honestly speaking, mujhe ye idea bilkul pasand nahi aaya
idea
ENG
Honestly speaking, mujhe ye idea bilkul pasand nahi aaya
bilkul
ENG
Honestly speaking, mujhe ye idea bilkul pasand nahi aaya
pasand
ENG
Honestly speaking, mujhe ye idea bilkul pasand nahi aaya
nahi
URD
Honestly speaking, mujhe ye idea bilkul pasand nahi aaya
aaya
ENG
Kal subah early meeting hai, please set an alarm
Kal
URD
Kal subah early meeting hai, please set an alarm
subah
URD
Kal subah early meeting hai, please set an alarm
early
ENG
Kal subah early meeting hai, please set an alarm
meeting
ENG
Kal subah early meeting hai, please set an alarm
hai,
URD
Kal subah early meeting hai, please set an alarm
please
URD
Kal subah early meeting hai, please set an alarm
set
ENG
Kal subah early meeting hai, please set an alarm
an
ENG
Kal subah early meeting hai, please set an alarm
alarm
ENG
I think humein ye project jaldi finish karna chahiye
I
ENG
I think humein ye project jaldi finish karna chahiye
think
ENG
I think humein ye project jaldi finish karna chahiye
humein
URD
I think humein ye project jaldi finish karna chahiye
ye
URD
I think humein ye project jaldi finish karna chahiye
project
URD
I think humein ye project jaldi finish karna chahiye
jaldi
URD
I think humein ye project jaldi finish karna chahiye
finish
ENG
I think humein ye project jaldi finish karna chahiye
karna
URD
I think humein ye project jaldi finish karna chahiye
chahiye
URD
Yaar tum kahan ho, everyone is waiting at the office
Yaar
URD
Yaar tum kahan ho, everyone is waiting at the office
tum
URD
Yaar tum kahan ho, everyone is waiting at the office
kahan
URD
Yaar tum kahan ho, everyone is waiting at the office
ho,
URD
Yaar tum kahan ho, everyone is waiting at the office
everyone
ENG
Yaar tum kahan ho, everyone is waiting at the office
is
ENG
Yaar tum kahan ho, everyone is waiting at the office
waiting
ENG
Yaar tum kahan ho, everyone is waiting at the office
at
ENG
Yaar tum kahan ho, everyone is waiting at the office
the
URD
Yaar tum kahan ho, everyone is waiting at the office
office
URD
Mera laptop crash ho gaya, I lost all my work
Mera
URD
Mera laptop crash ho gaya, I lost all my work
laptop
ENG
Mera laptop crash ho gaya, I lost all my work
crash
ENG
Mera laptop crash ho gaya, I lost all my work
ho
URD
Mera laptop crash ho gaya, I lost all my work
gaya,
URD
Mera laptop crash ho gaya, I lost all my work
I
ENG
Mera laptop crash ho gaya, I lost all my work
lost
ENG
Mera laptop crash ho gaya, I lost all my work
all
ENG
Mera laptop crash ho gaya, I lost all my work
my
ENG
Mera laptop crash ho gaya, I lost all my work
work
ENG
End of preview. Expand in Data Studio

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Code-Switching Dataset — Roman Urdu / English

Dataset Description

This dataset contains naturally occurring code-switched sentences that mix Roman Urdu and English, the way Pakistani speakers commonly write in everyday digital communication (texts, tweets, comments). Each sentence is broken down word-by-word, with every word labeled by language.

  • Total sentences: 150
  • Total labeled word entries: ~1,478
  • Format: flat CSV — one row per word, with the parent sentence and its label

How It Was Collected

Sentences were written and compiled to reflect realistic, informal code-switching patterns seen in Pakistani online communication — the kind of mixing found in Twitter/X posts, WhatsApp messages, Reddit comments (r/pakistan), YouTube comments on Pakistani videos, and Facebook public pages. The sentences follow natural code-switching patterns (e.g., "Aaj ka din bohot busy tha, had 3 meetings back to back") rather than being direct or formal translations.

Label Meanings

Each word in a sentence is tagged with one of the following labels:

Label Meaning
URD Word is in Urdu / Roman Urdu
ENG Word is in English
MIX Word shows mixed/blended morphology (e.g., an English root with an Urdu suffix, or vice versa)

Columns

Column Description
sentence The full original mixed-language sentence
word An individual word from that sentence
label Language label for that word (URD / ENG / MIX)

Intended Use

This dataset is intended for training and evaluating token-level language identification and code-switching detection models for Roman Urdu–English text, common in South Asian NLP applications.

Limitations

  • Labels were assigned using a rule-based heuristic (a curated Roman Urdu word list) and may contain minor labeling inconsistencies, especially for ambiguous or context-dependent words.
  • The dataset is relatively small (150 sentences) and may not capture the full diversity of real-world code-switching patterns.
Downloads last month
35