One word and its score.
More...
#include <word_scores.hpp>
|
| Offset | span |
| |
| std::string | text |
| |
| float | score = 0.0f |
| |
| std::vector< size_t > | tokens |
| | Indices of the tokens that overlap the word, in order. Empty when none does (a character the vocabulary dropped), and then the score is 0.
|
| |
◆ score
| float pulsatrix::WordScore::score = 0.0f |
◆ span
| Offset pulsatrix::WordScore::span |
◆ text
| std::string pulsatrix::WordScore::text |
◆ tokens
| std::vector<size_t> pulsatrix::WordScore::tokens |
Indices of the tokens that overlap the word, in order. Empty when none does (a character the vocabulary dropped), and then the score is 0.
The documentation for this struct was generated from the following file: