All projects 03 of 08
Claim Chart Explorer
// Patent claim charts shaded by prior-art coverage
Splits a patent claim into elements and scores each against prior-art passages, so uncovered elements stand out.
- Stack
- Next.js 16 (App Router), React 19, TypeScript, Tailwind CSS
- Scoring
- TF-IDF and cosine similarity written in TypeScript; no external AI API
- Sample data
- Claim 1 of US 5,960,411 against 3 patents cited on it

The problem
Patent attorneys build claim charts by hand. They break a claim into elements and search prior-art documents for passages that disclose each one. An element with no matching prior art is where the argument for novelty starts.
Claim Chart Explorer shades the chart by how strongly the prior art covers each element, so a reviewer can find an uncovered element without reading every reference end to end.
Try it live
Claim Chart Explorer, the live app
The app

What you see
The annotated claim underlines each element by its best coverage. The claim chart table has elements as rows and prior-art references as columns, shaded on a one-hue blue scale. Clicking a cell opens the best-matching passage with the shared words highlighted. A coverage summary lists the elements with no strong match.
What it found
The scorer finds strong prior art for retrieving stored purchaser data, generating the order and fulfilling it. It finds no strong match for element 1b, the single action order request, which is the part of the claim that made it novel.
How the scoring works
- Tokenize
Lowercase the text, keep words, drop stopwords including patent boilerplate like "wherein" and "said", and stem the rest.
- Weight
Compute an inverse document frequency over all elements and passages, so rare words like "cart" count more than "computer".
- Vectorize
Turn each claim element, and each sentence of each passage, into a vector of term count times weight.
- Compare
Take the cosine similarity between an element and each sentence. A cell's score is the best sentence in that reference.
- Bucket
A score of 0.23 or more is strong, 0.15 to 0.23 is partial, and lower is weak. The cut-offs were tuned on this sample data.
From the README




Limits
TF-IDF compares words, not meaning. Element 1g says the item is ordered without using a shopping cart, yet it scores strong against passages that talk about shopping carts constantly. That is a negation false positive a human reviewer has to catch.
Synonyms are also missed: "purchaser" does not match "user" or "buyer". The thresholds are tuned to this data set, not universal.
Notes
- Built with AI-assisted development (Claude Code). The patent text is real, public USPTO text.