Module heatmap

Module heatmap 

Source

Enums§

HeatmapBucket
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.