Natural language processing (NLP)
The branch of AI that gets computers to read, interpret and produce human language, from spam filters and translation to chatbots and voice assistants.
Natural language processing is the part of AI concerned with human language: getting computers to read text, pull meaning out of it, and write or speak back. It covers translation, search, spam filtering, sorting customer emails, summarising documents and the chatbots now in the news.
Language is hard for computers because it is ambiguous. "I saw her duck" has two meanings, and people resolve that instantly from context. The field has tried three broad approaches over the decades. First came hand-written rules about grammar and vocabulary. Then statistical methods that counted which words tend to appear together in large collections of text. Now neural networks, and especially large language models, learn patterns of language from enormous amounts of writing and handle context far better than either earlier approach.
The history is long. Alan Turing's 1950 paper "Computing Machinery and Intelligence" proposed a conversation test for machine intelligence. In 1954 the Georgetown experiment translated more than sixty Russian sentences into English automatically. In the mid-1960s Joseph Weizenbaum at MIT wrote ELIZA, a simple program that imitated a therapist by reflecting a person's words back as questions. Many users became convinced it understood them, despite Weizenbaum's insistence that it did not.
ELIZA's lesson still applies: fluent language makes people assume understanding. For a business, NLP is valuable for jobs that involve a lot of reading, such as routing support tickets, pulling dates and amounts out of contracts, or flagging complaints. Measure it on your own documents, because performance drops on specialist jargon, poor scans and less common languages. A system that reads a thousand claims a day never gets tired, but it will not notice that a clause is unusual unless it has learned what usual looks like.
Natural language processing powers search engines, spam filters, translation tools, voice assistants, chatbots and grammar checkers. Businesses use it to sort and route customer emails, measure sentiment in reviews, extract names, dates and amounts from contracts and invoices, transcribe calls and summarise long documents. Any task that involves a computer reading or writing human language uses it. Yes. ChatGPT is built on a large language model, which is the most recent and most capable kind of natural language processing system. Earlier NLP tools usually did one narrow job, such as translation or spam detection. Large language models can handle many language tasks at once, which is why they have largely taken over the field. Machine learning is a general method for building systems that learn from data. Natural language processing is a field defined by its subject: human language. Modern NLP relies heavily on machine learning, but machine learning is also used for images, numbers and sound, and early NLP used hand-written rules with no machine learning at all.Common questions
What is natural language processing used for?
Is ChatGPT natural language processing?
What is the difference between NLP and machine learning?
Search for "natural language processing basics", "Speech and Language Processing Jurafsky" and "history of machine translation". The Jurafsky and Martin textbook is free online in draft form and is the standard university text. Encyclopedia entries cover the field's history from the 1950s with citations. Treat accuracy claims from vendors with care, because a figure measured on clean English news text says little about how a tool will handle your contracts, call transcripts or customer emails in other languages.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.