Practical · Document Search, Cosine Clustering & Near-Duplicate Audit

Multi-Document Semantic Search & Near-Duplicate Finder

Upload ragged-safe RFC 4180 .csv, .json, .md, or .txt files (or pick a curated corpus), index selected items sequentially in a cancellable FIFO worker queue, audit near-duplicate clusters, and export formula-safe CSV/JSON.

1. Corpus queue & cancellable FIFO indexing

Drag and drop files here, or paste multi-line text outside any input field to append documents.

idle
Add a custom document to the queue

2. Search, cluster threshold & near-duplicate audit

Cosine clusters & near-duplicates

Index your corpus above to inspect cosine clusters and near-duplicates.

2D PCA semantic map

Semantic search ranking

Ranked search results with cluster ID, token count, and cosine similarity
Rank Document Cluster Tokens Cosine
Index the corpus and run Search KB to rank documents by meaning.

Show the code

Show the code: ragged-safe RFC 4180 CSV parser (mt-core.mjs)
Show the code: cosine threshold clustering & near-duplicate audit (mt-core.mjs)