Canonicalization

Canonicalization is the process of identifying repeating core concepts across raw transcripts and aggregating them into dedicated files using fuzzy matching.


Cole Medin has been describing a pipeline for turning raw transcripts into an AI knowledge base, and one step in it has a name worth knowing: canonicalization. As he puts it:

This is where we're going to look at all the transcripts at a bird's-eye view and figure out the things that repeat themselves.

The problem it solves is mundane but real. If you feed a pile of transcripts — podcast episodes, meeting recordings, video captions — into a system that extracts concepts, you get a mess. The same idea shows up under three different names. A person gets referred to by full name in one transcript and first name in another. Genuinely one-off mentions sit next to the ideas that come up constantly. Canonicalization is the cleanup pass: it looks across everything, uses fuzzy matching to recognize that two differently-spelled labels refer to the same underlying concept, and merges them into a single dedicated file. Mentions that never recur get filtered out rather than cluttering the knowledge base.

"Fuzzy matching" just means matching that tolerates small differences — it does not require two strings to be identical to decide they mean the same thing. That tolerance is the whole point, because natural speech almost never refers to the same thing the same way twice.

The result, per Medin, is a knowledge base that stays clean and organized as it grows — the aggregation is what makes it scalable rather than an ever-growing pile of near-duplicates.

Who this is for. To be direct: this is not a technique for the average person using an AI assistant to manage their week. It is for people building a custom knowledge base out of raw text sources — which in practice means developers, technical hobbyists, or people comfortable wiring up an ingestion pipeline. If you are not doing that, nothing here demands action from you. The idea is still useful to understand, though, because it explains a quiet failure mode of many "AI second brain" projects: they ingest everything and deduplicate nothing, so recall degrades as the archive grows. When an assistant's memory feature starts surfacing half-redundant notes, the missing step is usually something like this.

Is it usable today? Yes — this is shipping, not a proposal. Medin presents it as a working stage in an existing pipeline. What is less clear from his description is how much of the matching is automated versus how much judgment it needs: fuzzy matching always involves a threshold for how different two names can be before they count as different concepts, and getting that wrong merges things that should stay separate or splits things that should merge. He does not discuss error rates, manual review, or what happens when the matcher is wrong. Those are the questions to ask if you build this yourself — the aggregation is only as good as the matching underneath it.

The broader takeaway, even for non-builders: an AI assistant's usefulness over time depends less on how much you feed it than on whether the repeated ideas get consolidated. Raw accumulation is cheap. Canonicalization is the part that makes accumulation mean something.

developermemoryvideo
Source: youtube.com