ITextWatermarkEmbedder<T>
Interfaces · AiDotNet.Safety.Watermarking
A text watermarker that embeds its keyed watermark into finished text.
Implements: IKeyedWatermarker, ITextWatermarker<T>
Known implementations: KeyedSubstitutionWatermarker<T>
For Beginners
this kind of watermarker takes text that is already written and swaps a few words for equivalent ones in a pattern only your key can recognise.
How It Works
Post-hoc text watermarks rewrite text at sites that admit a meaning-preserving alternative (a synonym, or a contraction) and choose the alternative from the key. They need no access to the language model, so they also mark text from a model you do not run yourself, but they carry fewer bits per word than a generation-time watermark and need longer text to reach the same confidence.
Methods
| Method | Summary |
|---|---|
string EmbedWatermark(string text) |
Returns text with this watermarker’s keyed watermark embedded. |