metadata
license: apache-2.0
language:
- en
Dataset Card for TXT/SMS Abbreviations
A list of all sms/text speak abbreviations
Dataset Details
Dataset Description
A curated list of abbreviations commonly used in text messages and gaming chat and other places. We have tried to remove explanations and explicitly put a full expansion of the abbreviation. Be careful - some items are whole words already.
- Curated by: Will Wade
- Language(s) (NLP): English
- License: Apache-2
Uses
Use as a training set for abbreviations or as part of a GEC task
import csv
# Load abbreviations and their expansions from sms.csv into a dictionary
abbreviations_dict = {}
with open('sms.csv', mode='r', encoding='utf-8') as infile:
# Specify the delimiter as a tab character
reader = csv.reader(infile, delimiter=',')
for row in reader:
if len(row) >= 2:
abbreviations_dict[row[0].strip().upper()] = row[1].strip()
else:
print(f"Skipping malformed row: {row}")