-
Notifications
You must be signed in to change notification settings - Fork 180
/
TargetSentiment.yml
80 lines (79 loc) · 2.45 KB
/
TargetSentiment.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
### YamlMime:TSType
name: TargetSentiment
uid: '@azure/ai-text-analytics.TargetSentiment'
package: '@azure/ai-text-analytics'
summary: |-
TargetSentiment contains the predicted sentiment, confidence scores and other
information about an target of a product. A target of a product/service is a
key component of that product/service. For example in "The food at Hotel Foo
is good", "food" is a target of "Hotel Foo".
fullName: TargetSentiment
remarks: ''
isDeprecated: false
type: interface
properties:
- name: confidenceScores
uid: '@azure/ai-text-analytics.TargetSentiment.confidenceScores'
package: '@azure/ai-text-analytics'
summary: |-
The sentiment confidence score between 0 and 1 for the target for
'positive' and 'negative' labels.
fullName: confidenceScores
remarks: ''
isDeprecated: false
syntax:
content: 'confidenceScores: TargetConfidenceScoreLabel'
return:
description: ''
type: <xref uid="@azure/ai-text-analytics.TargetConfidenceScoreLabel" />
- name: length
uid: '@azure/ai-text-analytics.TargetSentiment.length'
package: '@azure/ai-text-analytics'
summary: The length of the Target text.
fullName: length
remarks: ''
isDeprecated: false
syntax:
content: 'length: number'
return:
description: ''
type: number
- name: offset
uid: '@azure/ai-text-analytics.TargetSentiment.offset'
package: '@azure/ai-text-analytics'
summary: The Target text offset from the start of the sentence.
fullName: offset
remarks: ''
isDeprecated: false
syntax:
content: 'offset: number'
return:
description: ''
type: number
- name: sentiment
uid: '@azure/ai-text-analytics.TargetSentiment.sentiment'
package: '@azure/ai-text-analytics'
summary: >-
The predicted Sentiment for the Target. Possible values include
'positive',
'mixed', and 'negative'.
fullName: sentiment
remarks: ''
isDeprecated: false
syntax:
content: 'sentiment: TokenSentimentValue'
return:
description: ''
type: <xref uid="@azure/ai-text-analytics.TokenSentimentValue" />
- name: text
uid: '@azure/ai-text-analytics.TargetSentiment.text'
package: '@azure/ai-text-analytics'
summary: The target text.
fullName: text
remarks: ''
isDeprecated: false
syntax:
content: 'text: string'
return:
description: ''
type: string