@@ -24,31 +24,31 @@ type Analysis struct {
2424
2525// Title is the response object for the title analysis.
2626type Title struct {
27- // Decision is the string representing the decision could be bias/unsure/impartial
27+ // Decision is the string representing the decision could be bias/unsure/impartial.
2828 Decision string `json:"decision,omitempty"`
29- // Score is the numeric score of the decision is between 0.00 (bias) and 1.00 (impartial)
29+ // Score is the numeric score of the decision is between 0.00 (bias) and 1.00 (impartial).
3030 Score float64 `json:"score,omitempty"`
3131 // Entities represents entities discovered in the text.
3232 Entities []Entity `json:"entities,omitempty"`
3333}
3434
3535// Content is the response object for the content analysis.
3636type Content struct {
37- // Decision is the string representing the decision could be bias/unsure/impartial
37+ // Decision is the string representing the decision could be bias/unsure/impartial.
3838 Decision string `json:"decision,omitempty"`
39- // Score is the numeric score of the decision is between 0.00 (bias) and 1.00 (impartial)
39+ // Score is the numeric score of the decision is between 0.00 (bias) and 1.00 (impartial).
4040 Score float64 `json:"score,omitempty"`
4141 // Entities represents entities discovered in the text.
4242 Entities []Entity `json:"entities,omitempty"`
43- // Keywords are the most relevant keywords extracted from the text
43+ // Keywords are the most relevant keywords extracted from the text.
4444 Keywords []Keyword `json:"keywords"`
4545}
4646
4747// Domain is the response object for the domain analysis.
4848type Domain struct {
49- // Domain is the domain extracted from the URL
49+ // Domain is the domain extracted from the URL.
5050 Domain string `json:"domain,omitempty"`
51- // Category is one of the listed on the API docs
51+ // Category is one of the listed on the API docs.
5252 Category string `json:"category,omitempty"`
5353}
5454
0 commit comments