Enums§
- Heatmap
Bucket - Represents the gradient band for semantic heatmap scores.
Functions§
- calculate_
token_ similarity - Calculate a similarity score between an individual token and the raw query text. Whitespace and punctuation tokens are ignored and score 0.0.
- split_
into_ tokens - Split text into meaningful tokens for heatmap highlighting, preserving spacing and punctuation as discrete tokens so coloured output lines up with the original input.