Skip to main content

gen_text_code_v0

Function gen_text_code_v0 

Source
pub fn gen_text_code_v0(text: &str, bits: u32) -> IsccResult<TextCodeResult>
Expand description

Generate a Text-Code from plain text content.

Produces an ISCC Content-Code for text by collapsing the input, extracting character n-gram features, and applying MinHash to create a similarity-preserving fingerprint.