//#region src/docReview/computeSimilarity.d.ts /** * Generate the set of character shingles (substrings of a fixed length) for a * piece of text. Whitespace is collapsed so the result is language agnostic. * * @param text - The text to shingle. * @param shingleLength - The length of each shingle. * @returns The set of unique shingles found in the text. */ export declare const generateCharacterShingles: (text: string, shingleLength: number) => Set; /** * Compute the Jaccard similarity between two strings using character shingles. * * @param a - First string. * @param b - Second string. * @param shingleLength - The shingle length (defaults to 3). * @returns A score between 0 (disjoint) and 1 (identical). */ export declare const computeJaccardSimilarity: (a: string, b: string, shingleLength?: number) => number; //#endregion //# sourceMappingURL=computeSimilarity.d.ts.map