Beginner level · Module 2 of 6 · 8 guided hours
Understanding Text and Language Data
How text is stored and represented (characters, encodings and files), where text datasets come from, how to load and explore them with pandas, and what makes text data multilingual, messy or low-resource.
Learning objectives
- Explain characters, encodings and why UTF-8 matters
- Load and explore a text dataset with pandas
- Describe text sources, licences and the characteristics of low-resource language data
Topics
- characters, Unicode and UTF-8
- text files and CSV
- loading text with pandas
- corpus statistics
- dataset sources and licences
- multilingual and low-resource text
Lessons
-
Lesson 1 Characters, Encodings and Text Files
Learners see how computers store text as numbers, why UTF-8 is the safe default and how encoding mistakes produce garbled characters.
characterUnicodeUTF-8encoding errorsopen(..., encoding='utf-8')
-
Lesson 2 Loading and Exploring a Text Dataset
Using pandas, learners load a CSV of messages, check its size and labels, read samples and compute simple corpus statistics such as message length and most frequent words.
corpusDataFramelabel distributionmessage lengthword frequency
-
Lesson 3 Text Sources, Licences and Low-Resource Languages
Learners examine where text data comes from, how licences and consent limit its use, and why some languages have very little usable digital text.
data licenceconsentpublic vs private textlow-resource languagedataset documentation
Practical activity
Explore the level project's synthetic dataset and write a one-page data description: source, labels, sizes, samples, languages, licence and known limitations.
Expected outcomes
- Confident handling of text files and datasets
- Awareness of licences, consent and low-resource languages
Assessment
Notebook check of the exploration (60%) and the data description (40%).
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.