Correctly identified name-or-keyword: {{.Stats.CorrectIsKeyword}}/{{.Stats.Total}}
Correctly identified specific keyword: {{.Stats.CorrectWhichKeyword}}/{{.Stats.TotalKeyword}}
{{range $result := .Results}}
Words: {{$result.Words}}
Expected: {{$result.Expected}}
Features
{{range $feat := $result.Features}}
- {{$feat.Key}}
- {{$feat.Val}}
{{end}}
IsKeyword prediction: {{if $result.IsKeyword}}keyword{{else}}name{{end}} (p = {{$result.IsKeywordProb}})
{{range $feat := $result.IsKeywordContributions}}
- {{$feat.Key}}
- {{$feat.Val}}
{{end}}
WhichKeyword prediction: {{$result.WhichKeyword}} (p = {{$result.KeywordProb}})
{{range $feat := $result.WhichKeywordContributions}}
- {{$feat.Key}}
- {{$feat.Val}}
{{end}}
Expected: {{index $result.Expected 0}} (p == {{$result.ExpectedKeywordProb}})
{{range $feat := $result.ExpectedKeywordContributions}}
- {{$feat.Key}}
- {{$feat.Val}}
{{end}}
{{end}}