pub fn create_mock_analysis(text: &str) -> TokenAnalysis👎Deprecated since 0.5.0:
scores are a hash of each word, not model confidence; use detect::parse_logprobs on a real response
Expand description
Made-up confidence scores (a hash of each word), for exercising the renderers without model data. The numbers mean nothing.