pulsatrix 1.1.0
Loading...
Searching...
No Matches
token_relevance_view.hpp File Reference

The text of a pulsatrix.token_relevance.v1 document with each piece colored by its relevance, as an ImGui widget (VIZ-6a). More...

Include dependency graph for token_relevance_view.hpp:

Go to the source code of this file.

Classes

class  pulsatrix::TokenRelevanceView
 Draws a document's pieces as running text that wraps to the window, each scored piece on a background colored by its relevance (DivergingColormap, scaled to the largest |relevance|), as the SVG token strip does. Unscored pieces (the spaces between words) are plain text, and a newline starts a new line. Hovering a piece shows its text and score. More...
 

Namespaces

namespace  pulsatrix
 

Detailed Description

The text of a pulsatrix.token_relevance.v1 document with each piece colored by its relevance, as an ImGui widget (VIZ-6a).