Practical · token-classification · WASM
Two things you can ship the moment you know where every name sits. Entity index: scan a whole document and collect who, which organisations and which places it mentions, with mention counts — then copy the result as JSON for a pipeline. Privacy redaction: the same spans are exactly what you'd mask before sharing a document. Both run on-device, so the sensitive text never leaves the tab.
“Renault's director Luca de Meo met Bruno Le Maire in Paris to discuss the Douai plant. Renault will invest in Douai and Maubeuge, while Peugeot strengthens its Sochaux site. Bruno Le Maire welcomed these investments in France.”
Pick which entity types to mask; every detected span of those types is replaced by
a typed placeholder like [PERSONNE]. Uses the same scan as above — run it first.