What is computational linguistics?
The AI Glossary
In our classes, we often pause to explain the ideas behind AI and the language used to describe it. These posts grew out of those conversations. They’re for anyone who would like to understand AI better, with no technical background assumed.
Computational linguistics studies language using computational methods. It draws on linguistics—the study of how language works—and computer science. Researchers may build a model to investigate how sentences are structured, analyze language change in large text collections or develop software that interprets speech.
The field overlaps substantially with natural language processing, or NLP. Computational linguistics often emphasizes explaining language, while NLP often emphasizes building useful applications. This is a difference of emphasis, not a firm boundary: many researchers and systems contribute to both.
Language has several layers. Morphology concerns how words are formed, such as the relationship between “treat,” “treated” and “treatment.” Syntax concerns how words are arranged into sentences. Semantics concerns meaning. Pragmatics concerns how context and a speaker’s intention affect interpretation. These are different reasons why matching words is not enough to understand a message.
For example, “Can you open the window?” is grammatically a question about ability but is usually a request. “I don’t think the patient stopped the medication” is not equivalent to “The patient stopped the medication.” The relationship between clauses, uncertainty and context matters.
Computational methods can examine these distinctions through explicit rules, statistical patterns or learned representations. A learned representation is a numerical description that a model develops from examples. Strong performance on a language task can be useful without proving that the system represents meaning in the same way as a person.
Clinical communication makes the stakes concrete. A patient may say “I’m fine” while describing difficulties later in the conversation. A referral may quote a previous diagnosis without endorsing it. An application that extracts isolated phrases can miss those distinctions. Computational linguistics helps specify what must be preserved: who said something, when it applied, how certain it was and what the surrounding conversation meant. In my work, it is also a reminder to test across languages and communication styles rather than assuming that one well-written English example represents everyone.
Sources: Association for Computational Linguistics — What Is Computational Linguistics?
To learn more, take a look at the AI in Health Care Certificate of Specialization from the Advanced Learning Academy at Harvard T.H. Chan School of Public Health. You can take an individual course or work toward the full certificate.
AI is a fast-moving field. This explanation reflects our class discussions and related material at the time of writing. Terminology, capabilities and tools may change.
For suggested additions or corrections, please email me at tpanch@hsph.harvard.edu.
Dr. Trishan Panch
Program Director, AI in Health Care
Harvard T.H. Chan School of Public Health — Advanced Learning Academy
Lead with AI in Health Care
The AI Pragmatist is a monthly newsletter from ALA faculty, with new explainers & essays from the Advanced Learning Academy