Glossary

Natural Language Processing (NLP)

Computational methods for analysing, generating or otherwise working with human language.


“The bus is reliable, except on Sundays.” A one-word sentiment label for this survey response is going to leave somebody dissatisfied. The rider has told you something quite specific about when the service fails.

Follow a sentence into the final dataset

Follow that sentence from questionnaire to summary table. A phrase-level extraction can keep the service, the day and the exception together. A single positive score for the respondent may lose exactly the detail the transport researcher needs.

Where permission allows, keep the passage behind the coded item. A second reader can then challenge a measurement like “satisfied” using the respondent’s own words, including the inconvenient Sunday.

What it means

Natural language processing covers tasks from recognizing names to translating, retrieving and generating text. The research question determines whether a useful unit is a word, sentence, conversation or whole document. Software choices start to make sense once that decision is explicit.

Task What to inspect
Find an entity The selected words, their boundary and their assigned type
Classify a response The meaning of the label and the unit that receives it
Retrieve a passage Whether the result answers the question in its original context
Generate a summary Whether each factual statement follows from the source

Methods range from rules and dictionaries to statistical models and Transformers. A good fit for a repeatable identifier may differ from a good fit for an open-ended response about a difficult commute.

Why it matters for researchers

For a study, take a handful of ordinary texts and a handful with negation, irony, multiple topics or unfamiliar terms. Have a second reader trace the outputs back to the originals. A missed qualifier can matter more than several misspelled names if the research question turns on a difference between groups. When reporting a count, say what the analysis counted and what a reader had to judge.