Work · Applied AI

TermNorm — Excel add-in

An Excel add-in that turns free-form text into standardized database identifiers — cache, then fuzzy match, then web research and LLM reasoning, with a confidence score and an audit trail on every match.


The problem

Anywhere a controlled vocabulary meets a human typing into a cell, the two disagree. Someone writes “stainless sheet, 2mm”; the database accepts exactly one identifier out of 11,750. Closing that gap is expert work — you have to know the vocabulary well enough to tell near-duplicates apart — and it is precisely the work that doesn’t scale. In life-cycle-assessment projects that mapping is a large share of the effort before any analysis begins.

TermNorm does that matching in the tool the data already lives in: Excel.

What it does

How it works

LayerStack
FrontendExcel Office Add-in — Office.js, JavaScript
BackendPython, FastAPI
LLMGroq (recommended) or OpenAI
Build / testWebpack, Babel, Jest

The part worth stealing is the pipeline engine. Every processing step is a node exposed through a JSON contract, and the nodes split into two kinds:

Because that distinction is explicit, a pipeline can be recomposed — reordered, shortened, extended — without touching the engine. It also makes the add-in a reusable pattern rather than a one-off: an Excel front end over a Python backend is a shape most offices need and almost nobody wants to build twice.

Deployment is the unglamorous half. End users get a pre-built release, run one .bat to start the server, and upload the manifest through Excel — no toolchain on their machine. Desktop rollouts add IIS hosting and a network share.

Source on GitHub Download a release

What I’d carry forward

The three-tier escalation was the decision that made the rest work: sending everything to an LLM is both slower and less trustworthy than letting a cache and a fuzzy matcher answer what they can. The LLM earns its place on the residue — the entries where a human would also have to go read something.

The second lesson is that a matching tool is only adopted if it shows its reasoning. Confidence scores and the audit trail exist because a silent, authoritative-looking answer is worse than no answer when the identifier lands in a report someone has to defend.

Auto-file email attachments Get in touch