azure-ai-textanalytics 5.3.0b1__py3-none-any.whl → 6.0.0b1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of azure-ai-textanalytics might be problematic. Click here for more details.

Files changed (128) hide show
  1. azure/ai/textanalytics/__init__.py +26 -197
  2. azure/ai/textanalytics/_client.py +111 -0
  3. azure/ai/textanalytics/_configuration.py +73 -0
  4. azure/ai/textanalytics/{_generated/v2022_05_01/operations → _operations}/__init__.py +13 -8
  5. azure/ai/textanalytics/_operations/_operations.py +716 -0
  6. azure/ai/textanalytics/{_generated/v2022_05_01/models → _operations}/_patch.py +8 -6
  7. azure/ai/textanalytics/_patch.py +350 -0
  8. azure/ai/textanalytics/{_generated/aio → _utils}/__init__.py +1 -5
  9. azure/ai/textanalytics/_utils/model_base.py +1237 -0
  10. azure/ai/textanalytics/{_generated/_serialization.py → _utils/serialization.py} +640 -616
  11. azure/ai/textanalytics/{_generated/v2022_05_01/aio/_vendor.py → _utils/utils.py} +10 -12
  12. azure/ai/textanalytics/_version.py +8 -7
  13. azure/ai/textanalytics/aio/__init__.py +25 -14
  14. azure/ai/textanalytics/aio/_client.py +115 -0
  15. azure/ai/textanalytics/aio/_configuration.py +75 -0
  16. azure/ai/textanalytics/{_generated/v2022_10_01_preview/aio/operations → aio/_operations}/__init__.py +13 -8
  17. azure/ai/textanalytics/aio/_operations/_operations.py +623 -0
  18. azure/ai/textanalytics/{_generated/v2022_05_01 → aio/_operations}/_patch.py +8 -6
  19. azure/ai/textanalytics/aio/_patch.py +344 -0
  20. azure/ai/textanalytics/models/__init__.py +402 -0
  21. azure/ai/textanalytics/models/_enums.py +1979 -0
  22. azure/ai/textanalytics/models/_models.py +6641 -0
  23. azure/ai/textanalytics/{_generated/v2022_05_01/aio → models}/_patch.py +8 -6
  24. azure/ai/textanalytics/py.typed +1 -0
  25. {azure_ai_textanalytics-5.3.0b1.dist-info → azure_ai_textanalytics-6.0.0b1.dist-info}/METADATA +755 -319
  26. azure_ai_textanalytics-6.0.0b1.dist-info/RECORD +29 -0
  27. {azure_ai_textanalytics-5.3.0b1.dist-info → azure_ai_textanalytics-6.0.0b1.dist-info}/WHEEL +1 -1
  28. azure/ai/textanalytics/_base_client.py +0 -111
  29. azure/ai/textanalytics/_check.py +0 -22
  30. azure/ai/textanalytics/_dict_mixin.py +0 -54
  31. azure/ai/textanalytics/_generated/__init__.py +0 -16
  32. azure/ai/textanalytics/_generated/_configuration.py +0 -70
  33. azure/ai/textanalytics/_generated/_operations_mixin.py +0 -795
  34. azure/ai/textanalytics/_generated/_text_analytics_client.py +0 -126
  35. azure/ai/textanalytics/_generated/_version.py +0 -8
  36. azure/ai/textanalytics/_generated/aio/_configuration.py +0 -66
  37. azure/ai/textanalytics/_generated/aio/_operations_mixin.py +0 -776
  38. azure/ai/textanalytics/_generated/aio/_text_analytics_client.py +0 -124
  39. azure/ai/textanalytics/_generated/models.py +0 -8
  40. azure/ai/textanalytics/_generated/v2022_05_01/__init__.py +0 -20
  41. azure/ai/textanalytics/_generated/v2022_05_01/_configuration.py +0 -72
  42. azure/ai/textanalytics/_generated/v2022_05_01/_text_analytics_client.py +0 -100
  43. azure/ai/textanalytics/_generated/v2022_05_01/_vendor.py +0 -45
  44. azure/ai/textanalytics/_generated/v2022_05_01/aio/__init__.py +0 -20
  45. azure/ai/textanalytics/_generated/v2022_05_01/aio/_configuration.py +0 -71
  46. azure/ai/textanalytics/_generated/v2022_05_01/aio/_text_analytics_client.py +0 -97
  47. azure/ai/textanalytics/_generated/v2022_05_01/aio/operations/__init__.py +0 -18
  48. azure/ai/textanalytics/_generated/v2022_05_01/aio/operations/_patch.py +0 -121
  49. azure/ai/textanalytics/_generated/v2022_05_01/aio/operations/_text_analytics_client_operations.py +0 -603
  50. azure/ai/textanalytics/_generated/v2022_05_01/models/__init__.py +0 -281
  51. azure/ai/textanalytics/_generated/v2022_05_01/models/_models_py3.py +0 -5722
  52. azure/ai/textanalytics/_generated/v2022_05_01/models/_text_analytics_client_enums.py +0 -439
  53. azure/ai/textanalytics/_generated/v2022_05_01/operations/_patch.py +0 -120
  54. azure/ai/textanalytics/_generated/v2022_05_01/operations/_text_analytics_client_operations.py +0 -744
  55. azure/ai/textanalytics/_generated/v2022_10_01_preview/__init__.py +0 -20
  56. azure/ai/textanalytics/_generated/v2022_10_01_preview/_configuration.py +0 -72
  57. azure/ai/textanalytics/_generated/v2022_10_01_preview/_patch.py +0 -19
  58. azure/ai/textanalytics/_generated/v2022_10_01_preview/_text_analytics_client.py +0 -100
  59. azure/ai/textanalytics/_generated/v2022_10_01_preview/_vendor.py +0 -45
  60. azure/ai/textanalytics/_generated/v2022_10_01_preview/aio/__init__.py +0 -20
  61. azure/ai/textanalytics/_generated/v2022_10_01_preview/aio/_configuration.py +0 -71
  62. azure/ai/textanalytics/_generated/v2022_10_01_preview/aio/_patch.py +0 -19
  63. azure/ai/textanalytics/_generated/v2022_10_01_preview/aio/_text_analytics_client.py +0 -97
  64. azure/ai/textanalytics/_generated/v2022_10_01_preview/aio/_vendor.py +0 -27
  65. azure/ai/textanalytics/_generated/v2022_10_01_preview/aio/operations/_patch.py +0 -121
  66. azure/ai/textanalytics/_generated/v2022_10_01_preview/aio/operations/_text_analytics_client_operations.py +0 -603
  67. azure/ai/textanalytics/_generated/v2022_10_01_preview/models/__init__.py +0 -407
  68. azure/ai/textanalytics/_generated/v2022_10_01_preview/models/_models_py3.py +0 -8462
  69. azure/ai/textanalytics/_generated/v2022_10_01_preview/models/_patch.py +0 -72
  70. azure/ai/textanalytics/_generated/v2022_10_01_preview/models/_text_analytics_client_enums.py +0 -730
  71. azure/ai/textanalytics/_generated/v2022_10_01_preview/operations/__init__.py +0 -18
  72. azure/ai/textanalytics/_generated/v2022_10_01_preview/operations/_patch.py +0 -120
  73. azure/ai/textanalytics/_generated/v2022_10_01_preview/operations/_text_analytics_client_operations.py +0 -744
  74. azure/ai/textanalytics/_generated/v3_0/__init__.py +0 -20
  75. azure/ai/textanalytics/_generated/v3_0/_configuration.py +0 -66
  76. azure/ai/textanalytics/_generated/v3_0/_patch.py +0 -31
  77. azure/ai/textanalytics/_generated/v3_0/_text_analytics_client.py +0 -96
  78. azure/ai/textanalytics/_generated/v3_0/_vendor.py +0 -33
  79. azure/ai/textanalytics/_generated/v3_0/aio/__init__.py +0 -20
  80. azure/ai/textanalytics/_generated/v3_0/aio/_configuration.py +0 -65
  81. azure/ai/textanalytics/_generated/v3_0/aio/_patch.py +0 -31
  82. azure/ai/textanalytics/_generated/v3_0/aio/_text_analytics_client.py +0 -93
  83. azure/ai/textanalytics/_generated/v3_0/aio/_vendor.py +0 -27
  84. azure/ai/textanalytics/_generated/v3_0/aio/operations/__init__.py +0 -18
  85. azure/ai/textanalytics/_generated/v3_0/aio/operations/_patch.py +0 -19
  86. azure/ai/textanalytics/_generated/v3_0/aio/operations/_text_analytics_client_operations.py +0 -428
  87. azure/ai/textanalytics/_generated/v3_0/models/__init__.py +0 -81
  88. azure/ai/textanalytics/_generated/v3_0/models/_models_py3.py +0 -1467
  89. azure/ai/textanalytics/_generated/v3_0/models/_patch.py +0 -19
  90. azure/ai/textanalytics/_generated/v3_0/models/_text_analytics_client_enums.py +0 -58
  91. azure/ai/textanalytics/_generated/v3_0/operations/__init__.py +0 -18
  92. azure/ai/textanalytics/_generated/v3_0/operations/_patch.py +0 -19
  93. azure/ai/textanalytics/_generated/v3_0/operations/_text_analytics_client_operations.py +0 -604
  94. azure/ai/textanalytics/_generated/v3_1/__init__.py +0 -20
  95. azure/ai/textanalytics/_generated/v3_1/_configuration.py +0 -66
  96. azure/ai/textanalytics/_generated/v3_1/_patch.py +0 -31
  97. azure/ai/textanalytics/_generated/v3_1/_text_analytics_client.py +0 -98
  98. azure/ai/textanalytics/_generated/v3_1/_vendor.py +0 -45
  99. azure/ai/textanalytics/_generated/v3_1/aio/__init__.py +0 -20
  100. azure/ai/textanalytics/_generated/v3_1/aio/_configuration.py +0 -65
  101. azure/ai/textanalytics/_generated/v3_1/aio/_patch.py +0 -31
  102. azure/ai/textanalytics/_generated/v3_1/aio/_text_analytics_client.py +0 -95
  103. azure/ai/textanalytics/_generated/v3_1/aio/_vendor.py +0 -27
  104. azure/ai/textanalytics/_generated/v3_1/aio/operations/__init__.py +0 -18
  105. azure/ai/textanalytics/_generated/v3_1/aio/operations/_patch.py +0 -19
  106. azure/ai/textanalytics/_generated/v3_1/aio/operations/_text_analytics_client_operations.py +0 -1291
  107. azure/ai/textanalytics/_generated/v3_1/models/__init__.py +0 -205
  108. azure/ai/textanalytics/_generated/v3_1/models/_models_py3.py +0 -3976
  109. azure/ai/textanalytics/_generated/v3_1/models/_patch.py +0 -19
  110. azure/ai/textanalytics/_generated/v3_1/models/_text_analytics_client_enums.py +0 -367
  111. azure/ai/textanalytics/_generated/v3_1/operations/__init__.py +0 -18
  112. azure/ai/textanalytics/_generated/v3_1/operations/_patch.py +0 -19
  113. azure/ai/textanalytics/_generated/v3_1/operations/_text_analytics_client_operations.py +0 -1709
  114. azure/ai/textanalytics/_lro.py +0 -552
  115. azure/ai/textanalytics/_models.py +0 -3142
  116. azure/ai/textanalytics/_policies.py +0 -66
  117. azure/ai/textanalytics/_request_handlers.py +0 -104
  118. azure/ai/textanalytics/_response_handlers.py +0 -580
  119. azure/ai/textanalytics/_text_analytics_client.py +0 -1802
  120. azure/ai/textanalytics/_user_agent.py +0 -8
  121. azure/ai/textanalytics/_validate.py +0 -113
  122. azure/ai/textanalytics/aio/_base_client_async.py +0 -95
  123. azure/ai/textanalytics/aio/_lro_async.py +0 -501
  124. azure/ai/textanalytics/aio/_response_handlers_async.py +0 -94
  125. azure/ai/textanalytics/aio/_text_analytics_client_async.py +0 -1800
  126. azure_ai_textanalytics-5.3.0b1.dist-info/RECORD +0 -115
  127. {azure_ai_textanalytics-5.3.0b1.dist-info → azure_ai_textanalytics-6.0.0b1.dist-info/licenses}/LICENSE +0 -0
  128. {azure_ai_textanalytics-5.3.0b1.dist-info → azure_ai_textanalytics-6.0.0b1.dist-info}/top_level.txt +0 -0
@@ -1,19 +0,0 @@
1
- # ------------------------------------
2
- # Copyright (c) Microsoft Corporation.
3
- # Licensed under the MIT License.
4
- # ------------------------------------
5
- """Customize generated code here.
6
-
7
- Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
8
- """
9
- from typing import List
10
-
11
- __all__: List[str] = [] # Add all objects you want publicly available to users at this package level
12
-
13
- def patch_sdk():
14
- """Do not remove from this file.
15
-
16
- `patch_sdk` is a last resort escape hatch that allows you to do customizations
17
- you can't accomplish using the techniques described in
18
- https://aka.ms/azsdk/python/dpcodegen/python/customize
19
- """
@@ -1,367 +0,0 @@
1
- # coding=utf-8
2
- # --------------------------------------------------------------------------
3
- # Copyright (c) Microsoft Corporation. All rights reserved.
4
- # Licensed under the MIT License. See License.txt in the project root for license information.
5
- # Code generated by Microsoft (R) AutoRest Code Generator.
6
- # Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- # --------------------------------------------------------------------------
8
-
9
- from enum import Enum
10
- from azure.core import CaseInsensitiveEnumMeta
11
-
12
-
13
- class Association(str, Enum, metaclass=CaseInsensitiveEnumMeta):
14
- """Describes if the entity is the subject of the text or if it describes someone else.
15
- """
16
-
17
- SUBJECT = "subject"
18
- OTHER = "other"
19
-
20
- class Certainty(str, Enum, metaclass=CaseInsensitiveEnumMeta):
21
- """Describes the entities certainty and polarity.
22
- """
23
-
24
- POSITIVE = "positive"
25
- POSITIVE_POSSIBLE = "positivePossible"
26
- NEUTRAL_POSSIBLE = "neutralPossible"
27
- NEGATIVE_POSSIBLE = "negativePossible"
28
- NEGATIVE = "negative"
29
-
30
- class Conditionality(str, Enum, metaclass=CaseInsensitiveEnumMeta):
31
- """Describes any conditionality on the entity.
32
- """
33
-
34
- HYPOTHETICAL = "hypothetical"
35
- CONDITIONAL = "conditional"
36
-
37
- class DocumentSentimentValue(str, Enum, metaclass=CaseInsensitiveEnumMeta):
38
- """Predicted sentiment for document (Negative, Neutral, Positive, or Mixed).
39
- """
40
-
41
- POSITIVE = "positive"
42
- NEUTRAL = "neutral"
43
- NEGATIVE = "negative"
44
- MIXED = "mixed"
45
-
46
- class ErrorCodeValue(str, Enum, metaclass=CaseInsensitiveEnumMeta):
47
- """Error code.
48
- """
49
-
50
- INVALID_REQUEST = "InvalidRequest"
51
- INVALID_ARGUMENT = "InvalidArgument"
52
- INTERNAL_SERVER_ERROR = "InternalServerError"
53
- SERVICE_UNAVAILABLE = "ServiceUnavailable"
54
- NOT_FOUND = "NotFound"
55
-
56
- class HealthcareEntityCategory(str, Enum, metaclass=CaseInsensitiveEnumMeta):
57
- """Healthcare Entity Category.
58
- """
59
-
60
- BODY_STRUCTURE = "BodyStructure"
61
- AGE = "Age"
62
- GENDER = "Gender"
63
- EXAMINATION_NAME = "ExaminationName"
64
- DATE = "Date"
65
- DIRECTION = "Direction"
66
- FREQUENCY = "Frequency"
67
- MEASUREMENT_VALUE = "MeasurementValue"
68
- MEASUREMENT_UNIT = "MeasurementUnit"
69
- RELATIONAL_OPERATOR = "RelationalOperator"
70
- TIME = "Time"
71
- GENE_OR_PROTEIN = "GeneOrProtein"
72
- VARIANT = "Variant"
73
- ADMINISTRATIVE_EVENT = "AdministrativeEvent"
74
- CARE_ENVIRONMENT = "CareEnvironment"
75
- HEALTHCARE_PROFESSION = "HealthcareProfession"
76
- DIAGNOSIS = "Diagnosis"
77
- SYMPTOM_OR_SIGN = "SymptomOrSign"
78
- CONDITION_QUALIFIER = "ConditionQualifier"
79
- MEDICATION_CLASS = "MedicationClass"
80
- MEDICATION_NAME = "MedicationName"
81
- DOSAGE = "Dosage"
82
- MEDICATION_FORM = "MedicationForm"
83
- MEDICATION_ROUTE = "MedicationRoute"
84
- FAMILY_RELATION = "FamilyRelation"
85
- TREATMENT_NAME = "TreatmentName"
86
-
87
- class InnerErrorCodeValue(str, Enum, metaclass=CaseInsensitiveEnumMeta):
88
- """Error code.
89
- """
90
-
91
- INVALID_PARAMETER_VALUE = "InvalidParameterValue"
92
- INVALID_REQUEST_BODY_FORMAT = "InvalidRequestBodyFormat"
93
- EMPTY_REQUEST = "EmptyRequest"
94
- MISSING_INPUT_RECORDS = "MissingInputRecords"
95
- INVALID_DOCUMENT = "InvalidDocument"
96
- MODEL_VERSION_INCORRECT = "ModelVersionIncorrect"
97
- INVALID_DOCUMENT_BATCH = "InvalidDocumentBatch"
98
- UNSUPPORTED_LANGUAGE_CODE = "UnsupportedLanguageCode"
99
- INVALID_COUNTRY_HINT = "InvalidCountryHint"
100
-
101
- class PiiCategory(str, Enum, metaclass=CaseInsensitiveEnumMeta):
102
- """PiiCategory.
103
- """
104
-
105
- ABA_ROUTING_NUMBER = "ABARoutingNumber"
106
- AR_NATIONAL_IDENTITY_NUMBER = "ARNationalIdentityNumber"
107
- AU_BANK_ACCOUNT_NUMBER = "AUBankAccountNumber"
108
- AU_DRIVERS_LICENSE_NUMBER = "AUDriversLicenseNumber"
109
- AU_MEDICAL_ACCOUNT_NUMBER = "AUMedicalAccountNumber"
110
- AU_PASSPORT_NUMBER = "AUPassportNumber"
111
- AU_TAX_FILE_NUMBER = "AUTaxFileNumber"
112
- AU_BUSINESS_NUMBER = "AUBusinessNumber"
113
- AU_COMPANY_NUMBER = "AUCompanyNumber"
114
- AT_IDENTITY_CARD = "ATIdentityCard"
115
- AT_TAX_IDENTIFICATION_NUMBER = "ATTaxIdentificationNumber"
116
- AT_VALUE_ADDED_TAX_NUMBER = "ATValueAddedTaxNumber"
117
- AZURE_DOCUMENT_DB_AUTH_KEY = "AzureDocumentDBAuthKey"
118
- AZURE_IAAS_DATABASE_CONNECTION_AND_SQL_STRING = "AzureIAASDatabaseConnectionAndSQLString"
119
- AZURE_IO_T_CONNECTION_STRING = "AzureIoTConnectionString"
120
- AZURE_PUBLISH_SETTING_PASSWORD = "AzurePublishSettingPassword"
121
- AZURE_REDIS_CACHE_STRING = "AzureRedisCacheString"
122
- AZURE_SAS = "AzureSAS"
123
- AZURE_SERVICE_BUS_STRING = "AzureServiceBusString"
124
- AZURE_STORAGE_ACCOUNT_KEY = "AzureStorageAccountKey"
125
- AZURE_STORAGE_ACCOUNT_GENERIC = "AzureStorageAccountGeneric"
126
- BE_NATIONAL_NUMBER = "BENationalNumber"
127
- BE_NATIONAL_NUMBER_V2 = "BENationalNumberV2"
128
- BE_VALUE_ADDED_TAX_NUMBER = "BEValueAddedTaxNumber"
129
- BRCPF_NUMBER = "BRCPFNumber"
130
- BR_LEGAL_ENTITY_NUMBER = "BRLegalEntityNumber"
131
- BR_NATIONAL_IDRG = "BRNationalIDRG"
132
- BG_UNIFORM_CIVIL_NUMBER = "BGUniformCivilNumber"
133
- CA_BANK_ACCOUNT_NUMBER = "CABankAccountNumber"
134
- CA_DRIVERS_LICENSE_NUMBER = "CADriversLicenseNumber"
135
- CA_HEALTH_SERVICE_NUMBER = "CAHealthServiceNumber"
136
- CA_PASSPORT_NUMBER = "CAPassportNumber"
137
- CA_PERSONAL_HEALTH_IDENTIFICATION = "CAPersonalHealthIdentification"
138
- CA_SOCIAL_INSURANCE_NUMBER = "CASocialInsuranceNumber"
139
- CL_IDENTITY_CARD_NUMBER = "CLIdentityCardNumber"
140
- CN_RESIDENT_IDENTITY_CARD_NUMBER = "CNResidentIdentityCardNumber"
141
- CREDIT_CARD_NUMBER = "CreditCardNumber"
142
- HR_IDENTITY_CARD_NUMBER = "HRIdentityCardNumber"
143
- HR_NATIONAL_ID_NUMBER = "HRNationalIDNumber"
144
- HR_PERSONAL_IDENTIFICATION_NUMBER = "HRPersonalIdentificationNumber"
145
- HR_PERSONAL_IDENTIFICATION_OIB_NUMBER_V2 = "HRPersonalIdentificationOIBNumberV2"
146
- CY_IDENTITY_CARD = "CYIdentityCard"
147
- CY_TAX_IDENTIFICATION_NUMBER = "CYTaxIdentificationNumber"
148
- CZ_PERSONAL_IDENTITY_NUMBER = "CZPersonalIdentityNumber"
149
- CZ_PERSONAL_IDENTITY_V2 = "CZPersonalIdentityV2"
150
- DK_PERSONAL_IDENTIFICATION_NUMBER = "DKPersonalIdentificationNumber"
151
- DK_PERSONAL_IDENTIFICATION_V2 = "DKPersonalIdentificationV2"
152
- DRUG_ENFORCEMENT_AGENCY_NUMBER = "DrugEnforcementAgencyNumber"
153
- EE_PERSONAL_IDENTIFICATION_CODE = "EEPersonalIdentificationCode"
154
- EU_DEBIT_CARD_NUMBER = "EUDebitCardNumber"
155
- EU_DRIVERS_LICENSE_NUMBER = "EUDriversLicenseNumber"
156
- EUGPS_COORDINATES = "EUGPSCoordinates"
157
- EU_NATIONAL_IDENTIFICATION_NUMBER = "EUNationalIdentificationNumber"
158
- EU_PASSPORT_NUMBER = "EUPassportNumber"
159
- EU_SOCIAL_SECURITY_NUMBER = "EUSocialSecurityNumber"
160
- EU_TAX_IDENTIFICATION_NUMBER = "EUTaxIdentificationNumber"
161
- FI_EUROPEAN_HEALTH_NUMBER = "FIEuropeanHealthNumber"
162
- FI_NATIONAL_ID = "FINationalID"
163
- FI_NATIONAL_IDV2 = "FINationalIDV2"
164
- FI_PASSPORT_NUMBER = "FIPassportNumber"
165
- FR_DRIVERS_LICENSE_NUMBER = "FRDriversLicenseNumber"
166
- FR_HEALTH_INSURANCE_NUMBER = "FRHealthInsuranceNumber"
167
- FR_NATIONAL_ID = "FRNationalID"
168
- FR_PASSPORT_NUMBER = "FRPassportNumber"
169
- FR_SOCIAL_SECURITY_NUMBER = "FRSocialSecurityNumber"
170
- FR_TAX_IDENTIFICATION_NUMBER = "FRTaxIdentificationNumber"
171
- FR_VALUE_ADDED_TAX_NUMBER = "FRValueAddedTaxNumber"
172
- DE_DRIVERS_LICENSE_NUMBER = "DEDriversLicenseNumber"
173
- DE_PASSPORT_NUMBER = "DEPassportNumber"
174
- DE_IDENTITY_CARD_NUMBER = "DEIdentityCardNumber"
175
- DE_TAX_IDENTIFICATION_NUMBER = "DETaxIdentificationNumber"
176
- DE_VALUE_ADDED_NUMBER = "DEValueAddedNumber"
177
- GR_NATIONAL_ID_CARD = "GRNationalIDCard"
178
- GR_NATIONAL_IDV2 = "GRNationalIDV2"
179
- GR_TAX_IDENTIFICATION_NUMBER = "GRTaxIdentificationNumber"
180
- HK_IDENTITY_CARD_NUMBER = "HKIdentityCardNumber"
181
- HU_VALUE_ADDED_NUMBER = "HUValueAddedNumber"
182
- HU_PERSONAL_IDENTIFICATION_NUMBER = "HUPersonalIdentificationNumber"
183
- HU_TAX_IDENTIFICATION_NUMBER = "HUTaxIdentificationNumber"
184
- IN_PERMANENT_ACCOUNT = "INPermanentAccount"
185
- IN_UNIQUE_IDENTIFICATION_NUMBER = "INUniqueIdentificationNumber"
186
- ID_IDENTITY_CARD_NUMBER = "IDIdentityCardNumber"
187
- INTERNATIONAL_BANKING_ACCOUNT_NUMBER = "InternationalBankingAccountNumber"
188
- IE_PERSONAL_PUBLIC_SERVICE_NUMBER = "IEPersonalPublicServiceNumber"
189
- IE_PERSONAL_PUBLIC_SERVICE_NUMBER_V2 = "IEPersonalPublicServiceNumberV2"
190
- IL_BANK_ACCOUNT_NUMBER = "ILBankAccountNumber"
191
- IL_NATIONAL_ID = "ILNationalID"
192
- IT_DRIVERS_LICENSE_NUMBER = "ITDriversLicenseNumber"
193
- IT_FISCAL_CODE = "ITFiscalCode"
194
- IT_VALUE_ADDED_TAX_NUMBER = "ITValueAddedTaxNumber"
195
- JP_BANK_ACCOUNT_NUMBER = "JPBankAccountNumber"
196
- JP_DRIVERS_LICENSE_NUMBER = "JPDriversLicenseNumber"
197
- JP_PASSPORT_NUMBER = "JPPassportNumber"
198
- JP_RESIDENT_REGISTRATION_NUMBER = "JPResidentRegistrationNumber"
199
- JP_SOCIAL_INSURANCE_NUMBER = "JPSocialInsuranceNumber"
200
- JP_MY_NUMBER_CORPORATE = "JPMyNumberCorporate"
201
- JP_MY_NUMBER_PERSONAL = "JPMyNumberPersonal"
202
- JP_RESIDENCE_CARD_NUMBER = "JPResidenceCardNumber"
203
- LV_PERSONAL_CODE = "LVPersonalCode"
204
- LT_PERSONAL_CODE = "LTPersonalCode"
205
- LU_NATIONAL_IDENTIFICATION_NUMBER_NATURAL = "LUNationalIdentificationNumberNatural"
206
- LU_NATIONAL_IDENTIFICATION_NUMBER_NON_NATURAL = "LUNationalIdentificationNumberNonNatural"
207
- MY_IDENTITY_CARD_NUMBER = "MYIdentityCardNumber"
208
- MT_IDENTITY_CARD_NUMBER = "MTIdentityCardNumber"
209
- MT_TAX_ID_NUMBER = "MTTaxIDNumber"
210
- NL_CITIZENS_SERVICE_NUMBER = "NLCitizensServiceNumber"
211
- NL_CITIZENS_SERVICE_NUMBER_V2 = "NLCitizensServiceNumberV2"
212
- NL_TAX_IDENTIFICATION_NUMBER = "NLTaxIdentificationNumber"
213
- NL_VALUE_ADDED_TAX_NUMBER = "NLValueAddedTaxNumber"
214
- NZ_BANK_ACCOUNT_NUMBER = "NZBankAccountNumber"
215
- NZ_DRIVERS_LICENSE_NUMBER = "NZDriversLicenseNumber"
216
- NZ_INLAND_REVENUE_NUMBER = "NZInlandRevenueNumber"
217
- NZ_MINISTRY_OF_HEALTH_NUMBER = "NZMinistryOfHealthNumber"
218
- NZ_SOCIAL_WELFARE_NUMBER = "NZSocialWelfareNumber"
219
- NO_IDENTITY_NUMBER = "NOIdentityNumber"
220
- PH_UNIFIED_MULTI_PURPOSE_ID_NUMBER = "PHUnifiedMultiPurposeIDNumber"
221
- PL_IDENTITY_CARD = "PLIdentityCard"
222
- PL_NATIONAL_ID = "PLNationalID"
223
- PL_NATIONAL_IDV2 = "PLNationalIDV2"
224
- PL_PASSPORT_NUMBER = "PLPassportNumber"
225
- PL_TAX_IDENTIFICATION_NUMBER = "PLTaxIdentificationNumber"
226
- PLREGON_NUMBER = "PLREGONNumber"
227
- PT_CITIZEN_CARD_NUMBER = "PTCitizenCardNumber"
228
- PT_CITIZEN_CARD_NUMBER_V2 = "PTCitizenCardNumberV2"
229
- PT_TAX_IDENTIFICATION_NUMBER = "PTTaxIdentificationNumber"
230
- RO_PERSONAL_NUMERICAL_CODE = "ROPersonalNumericalCode"
231
- RU_PASSPORT_NUMBER_DOMESTIC = "RUPassportNumberDomestic"
232
- RU_PASSPORT_NUMBER_INTERNATIONAL = "RUPassportNumberInternational"
233
- SA_NATIONAL_ID = "SANationalID"
234
- SG_NATIONAL_REGISTRATION_IDENTITY_CARD_NUMBER = "SGNationalRegistrationIdentityCardNumber"
235
- SK_PERSONAL_NUMBER = "SKPersonalNumber"
236
- SI_TAX_IDENTIFICATION_NUMBER = "SITaxIdentificationNumber"
237
- SI_UNIQUE_MASTER_CITIZEN_NUMBER = "SIUniqueMasterCitizenNumber"
238
- ZA_IDENTIFICATION_NUMBER = "ZAIdentificationNumber"
239
- KR_RESIDENT_REGISTRATION_NUMBER = "KRResidentRegistrationNumber"
240
- ESDNI = "ESDNI"
241
- ES_SOCIAL_SECURITY_NUMBER = "ESSocialSecurityNumber"
242
- ES_TAX_IDENTIFICATION_NUMBER = "ESTaxIdentificationNumber"
243
- SQL_SERVER_CONNECTION_STRING = "SQLServerConnectionString"
244
- SE_NATIONAL_ID = "SENationalID"
245
- SE_NATIONAL_IDV2 = "SENationalIDV2"
246
- SE_PASSPORT_NUMBER = "SEPassportNumber"
247
- SE_TAX_IDENTIFICATION_NUMBER = "SETaxIdentificationNumber"
248
- SWIFT_CODE = "SWIFTCode"
249
- CH_SOCIAL_SECURITY_NUMBER = "CHSocialSecurityNumber"
250
- TW_NATIONAL_ID = "TWNationalID"
251
- TW_PASSPORT_NUMBER = "TWPassportNumber"
252
- TW_RESIDENT_CERTIFICATE = "TWResidentCertificate"
253
- TH_POPULATION_IDENTIFICATION_CODE = "THPopulationIdentificationCode"
254
- TR_NATIONAL_IDENTIFICATION_NUMBER = "TRNationalIdentificationNumber"
255
- UK_DRIVERS_LICENSE_NUMBER = "UKDriversLicenseNumber"
256
- UK_ELECTORAL_ROLL_NUMBER = "UKElectoralRollNumber"
257
- UK_NATIONAL_HEALTH_NUMBER = "UKNationalHealthNumber"
258
- UK_NATIONAL_INSURANCE_NUMBER = "UKNationalInsuranceNumber"
259
- UK_UNIQUE_TAXPAYER_NUMBER = "UKUniqueTaxpayerNumber"
260
- USUK_PASSPORT_NUMBER = "USUKPassportNumber"
261
- US_BANK_ACCOUNT_NUMBER = "USBankAccountNumber"
262
- US_DRIVERS_LICENSE_NUMBER = "USDriversLicenseNumber"
263
- US_INDIVIDUAL_TAXPAYER_IDENTIFICATION = "USIndividualTaxpayerIdentification"
264
- US_SOCIAL_SECURITY_NUMBER = "USSocialSecurityNumber"
265
- UA_PASSPORT_NUMBER_DOMESTIC = "UAPassportNumberDomestic"
266
- UA_PASSPORT_NUMBER_INTERNATIONAL = "UAPassportNumberInternational"
267
- ORGANIZATION = "Organization"
268
- EMAIL = "Email"
269
- URL = "URL"
270
- AGE = "Age"
271
- PHONE_NUMBER = "PhoneNumber"
272
- IP_ADDRESS = "IPAddress"
273
- DATE = "Date"
274
- PERSON = "Person"
275
- ADDRESS = "Address"
276
- ALL = "All"
277
- DEFAULT = "Default"
278
-
279
- class PiiTaskParametersDomain(str, Enum, metaclass=CaseInsensitiveEnumMeta):
280
- """PiiTaskParametersDomain.
281
- """
282
-
283
- PHI = "phi"
284
- NONE = "none"
285
-
286
- class RelationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
287
- """Type of relation. Examples include: ``DosageOfMedication`` or 'FrequencyOfMedication', etc.
288
- """
289
-
290
- ABBREVIATION = "Abbreviation"
291
- DIRECTION_OF_BODY_STRUCTURE = "DirectionOfBodyStructure"
292
- DIRECTION_OF_CONDITION = "DirectionOfCondition"
293
- DIRECTION_OF_EXAMINATION = "DirectionOfExamination"
294
- DIRECTION_OF_TREATMENT = "DirectionOfTreatment"
295
- DOSAGE_OF_MEDICATION = "DosageOfMedication"
296
- FORM_OF_MEDICATION = "FormOfMedication"
297
- FREQUENCY_OF_MEDICATION = "FrequencyOfMedication"
298
- FREQUENCY_OF_TREATMENT = "FrequencyOfTreatment"
299
- QUALIFIER_OF_CONDITION = "QualifierOfCondition"
300
- RELATION_OF_EXAMINATION = "RelationOfExamination"
301
- ROUTE_OF_MEDICATION = "RouteOfMedication"
302
- TIME_OF_CONDITION = "TimeOfCondition"
303
- TIME_OF_EVENT = "TimeOfEvent"
304
- TIME_OF_EXAMINATION = "TimeOfExamination"
305
- TIME_OF_MEDICATION = "TimeOfMedication"
306
- TIME_OF_TREATMENT = "TimeOfTreatment"
307
- UNIT_OF_CONDITION = "UnitOfCondition"
308
- UNIT_OF_EXAMINATION = "UnitOfExamination"
309
- VALUE_OF_CONDITION = "ValueOfCondition"
310
- VALUE_OF_EXAMINATION = "ValueOfExamination"
311
-
312
- class SentenceSentimentValue(str, Enum, metaclass=CaseInsensitiveEnumMeta):
313
- """The predicted Sentiment for the sentence.
314
- """
315
-
316
- POSITIVE = "positive"
317
- NEUTRAL = "neutral"
318
- NEGATIVE = "negative"
319
-
320
- class State(str, Enum, metaclass=CaseInsensitiveEnumMeta):
321
- """State.
322
- """
323
-
324
- NOT_STARTED = "notStarted"
325
- RUNNING = "running"
326
- SUCCEEDED = "succeeded"
327
- FAILED = "failed"
328
- REJECTED = "rejected"
329
- CANCELLED = "cancelled"
330
- CANCELLING = "cancelling"
331
-
332
- class StringIndexType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
333
- """StringIndexType.
334
- """
335
-
336
- #: Returned offset and length values will correspond to TextElements (Graphemes and Grapheme
337
- #: clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is
338
- #: written in .Net Framework or .Net Core and you will be using StringInfo.
339
- TEXT_ELEMENT_V8 = "TextElement_v8"
340
- #: Returned offset and length values will correspond to Unicode code points. Use this option if
341
- #: your application is written in a language that support Unicode, for example Python.
342
- UNICODE_CODE_POINT = "UnicodeCodePoint"
343
- #: Returned offset and length values will correspond to UTF-16 code units. Use this option if your
344
- #: application is written in a language that support Unicode, for example Java, JavaScript.
345
- UTF16_CODE_UNIT = "Utf16CodeUnit"
346
-
347
- class TargetRelationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
348
- """The type related to the target.
349
- """
350
-
351
- ASSESSMENT = "assessment"
352
- TARGET = "target"
353
-
354
- class TokenSentimentValue(str, Enum, metaclass=CaseInsensitiveEnumMeta):
355
- """Targeted sentiment in the sentence.
356
- """
357
-
358
- POSITIVE = "positive"
359
- MIXED = "mixed"
360
- NEGATIVE = "negative"
361
-
362
- class WarningCodeValue(str, Enum, metaclass=CaseInsensitiveEnumMeta):
363
- """Error code.
364
- """
365
-
366
- LONG_WORDS_IN_DOCUMENT = "LongWordsInDocument"
367
- DOCUMENT_TRUNCATED = "DocumentTruncated"
@@ -1,18 +0,0 @@
1
- # coding=utf-8
2
- # --------------------------------------------------------------------------
3
- # Copyright (c) Microsoft Corporation. All rights reserved.
4
- # Licensed under the MIT License. See License.txt in the project root for license information.
5
- # Code generated by Microsoft (R) AutoRest Code Generator.
6
- # Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- # --------------------------------------------------------------------------
8
-
9
- from ._text_analytics_client_operations import TextAnalyticsClientOperationsMixin
10
-
11
- from ._patch import __all__ as _patch_all
12
- from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import
13
- from ._patch import patch_sdk as _patch_sdk
14
- __all__ = [
15
- 'TextAnalyticsClientOperationsMixin',
16
- ]
17
- __all__.extend([p for p in _patch_all if p not in __all__])
18
- _patch_sdk()
@@ -1,19 +0,0 @@
1
- # ------------------------------------
2
- # Copyright (c) Microsoft Corporation.
3
- # Licensed under the MIT License.
4
- # ------------------------------------
5
- """Customize generated code here.
6
-
7
- Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
8
- """
9
- from typing import List
10
-
11
- __all__: List[str] = [] # Add all objects you want publicly available to users at this package level
12
-
13
- def patch_sdk():
14
- """Do not remove from this file.
15
-
16
- `patch_sdk` is a last resort escape hatch that allows you to do customizations
17
- you can't accomplish using the techniques described in
18
- https://aka.ms/azsdk/python/dpcodegen/python/customize
19
- """