Skip to content

Commit 537dd08

Browse files
authored
[text analytics] add versionadded sphinx documentation (Azure#13450)
1 parent 9b1b9ec commit 537dd08

File tree

1 file changed

+8
-1
lines changed
  • sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics

1 file changed

+8
-1
lines changed

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_models.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ class CategorizedEntity(DictMixin):
220220
:ivar confidence_score: Confidence score between 0 and 1 of the extracted
221221
entity.
222222
:vartype confidence_score: float
223+
.. versionadded:: v3.1-preview.1
224+
The *offset* and *length* properties.
223225
"""
224226

225227
def __init__(self, **kwargs):
@@ -673,6 +675,8 @@ class LinkedEntityMatch(DictMixin):
673675
:ivar int length: The length of the linked entity match text. Returned
674676
in unicode code points. Only returned for api versions v3.1-preview.1 and up.
675677
:vartype text: str
678+
.. versionadded:: v3.1-preview.1
679+
The *offset* and *length* properties.
676680
"""
677681

678682
def __init__(self, **kwargs):
@@ -787,9 +791,12 @@ class SentenceSentiment(DictMixin):
787791
:ivar mined_opinions: The list of opinions mined from this sentence.
788792
For example in "The food is good, but the service is bad", we would
789793
mind these two opinions "food is good", "service is bad". Only returned
790-
if `show_opinion_mining` is set to True in the call to `analyze_sentiment`.
794+
if `show_opinion_mining` is set to True in the call to `analyze_sentiment` and
795+
api version is v3.1-preview.1 and up.
791796
:vartype mined_opinions:
792797
list[~azure.ai.textanalytics.MinedOpinion]
798+
.. versionadded:: v3.1-preview.1
799+
The *offset*, *length*, and *mined_opinions* properties.
793800
"""
794801

795802
def __init__(self, **kwargs):

0 commit comments

Comments
 (0)