Skip to main content

AI and Automation

Natural Language Processing

NLP is software working with human language. Much of it is now done by language models, and some of the older, cheaper techniques are still the better fit.

Definition

Natural language processing is software working with human language: reading it, interpreting it, extracting from it, generating it.

What It Actually Means

It is a field rather than a technique, and it predates the current wave by decades. Spam filters, autocomplete, search, translation and sentiment scoring are all NLP, and most were working long before anyone outside research had heard of a language model.

What Changed, And What Did Not

Large language models absorbed a great deal of what NLP used to require specialist work for. Tasks that once meant a bespoke pipeline, a labelled dataset and months of tuning can now be attempted with a well-written instruction.

That is a real shift, though not a total one. A category of older techniques remains faster, cheaper, more predictable and entirely adequate, and they are now routinely overlooked in favour of an approach that costs per request.

Pattern matching. Extracting a postcode, an invoice number, a date or a reference does not need a model. A rule does it instantly and for free, with the same result every time.

Classification on your own data. Sorting incoming messages into known categories is a well-understood machine learning problem. Trained on your history it is cheap to run, measurable against outcomes, and it cannot invent a category that does not exist.

Keyword and statistical search. Still excellent when people search using the words that are in the document. Best combined with embeddings rather than replaced by them.

Where The Newer Approach Genuinely Wins

Anything involving variety, ambiguity or nuance that rules cannot enumerate: understanding a request phrased any number of ways, summarising, pulling structure out of text that follows no template, working across topics nobody anticipated.

The useful test is whether the input is predictable. Predictable input suits rules and small models. Unpredictable input is where language models earn their cost.

What To Ask

  • Could a rule do this? Ask it first, every time. A rule that fits costs nothing to run and does not get it wrong.
  • Do we have labelled examples? If so, a small classifier may beat a language model on cost, speed and consistency.
  • What accuracy is needed, and how is it measured? Older methods make this straightforward. Generative output makes it harder, which is itself a reason to prefer the older method where it fits.
  • What is this costing per document at volume? Applying a language model to every incoming item is a per-item charge forever.

The Practical Position

The best systems mix the approaches rather than choosing one. Rules handle the regular parts and a trained classifier takes the parts you have history for, which leaves a language model for the residue that varies too much for either.

That arrangement is cheaper and more reliable than sending everything to a language model, and it is less common than it should be, because one approach is currently much easier to sell than the others.

More terms are in the glossary.

Portrait of Alexander De Sousa, founder of Digital Royalty
Founder-led
“I’ve put everything I know into how this company works — the standards, the method, the care on every project. It runs through the whole team, and I hold us all to it.”

Alexander De Sousa · Founder LinkedIn

Featured on BBC Radio Solent

Get started

Tell us what you need

A few quick questions, then a straight answer from a real person — usually within a few hours.

What happens next

  1. 1 We reply A real person reads your answers and gets back to you, usually within a few hours.
  2. 2 Questions or a short call If anything isn't clear, we ask by email or book a short call. Before any call we audit your website and make the quick fixes it finds, free.
  3. 3 Your fixed quote A clear, fixed price in writing, within 48 hours of any call. There is no obligation to go ahead.

Tell us what you're working on

Whether it's a new site, a platform, or a process that shouldn't be manual any more — we'll tell you honestly if we can help.