@azure/ai-text-analytics 5.1.1-alpha.20241203.1 → 5.1.1-alpha.20241206.1
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.
- package/dist/browser/analyzeActionsResult.d.ts +200 -0
- package/dist/browser/analyzeActionsResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/analyzeActionsResult.js +6 -6
- package/dist/browser/analyzeActionsResult.js.map +1 -0
- package/dist/browser/analyzeHealthcareEntitiesResult.d.ts +159 -0
- package/dist/browser/analyzeHealthcareEntitiesResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/analyzeHealthcareEntitiesResult.js +2 -2
- package/dist/browser/analyzeHealthcareEntitiesResult.js.map +1 -0
- package/dist/browser/analyzeSentimentResult.d.ts +123 -0
- package/dist/browser/analyzeSentimentResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/analyzeSentimentResult.js +2 -2
- package/dist/browser/analyzeSentimentResult.js.map +1 -0
- package/dist/browser/analyzeSentimentResultArray.d.ts +24 -0
- package/dist/browser/analyzeSentimentResultArray.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/analyzeSentimentResultArray.js +2 -2
- package/dist/browser/analyzeSentimentResultArray.js.map +1 -0
- package/dist/browser/azureKeyCredentialPolicy.d.ts +9 -0
- package/dist/browser/azureKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/browser/constants.d.ts +5 -0
- package/dist/browser/constants.d.ts.map +1 -0
- package/dist/browser/detectLanguageResult.d.ts +29 -0
- package/dist/browser/detectLanguageResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/detectLanguageResult.js +1 -1
- package/dist/browser/detectLanguageResult.js.map +1 -0
- package/dist/browser/detectLanguageResultArray.d.ts +24 -0
- package/dist/browser/detectLanguageResultArray.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/detectLanguageResultArray.js +2 -2
- package/dist/browser/detectLanguageResultArray.js.map +1 -0
- package/dist/browser/extractKeyPhrasesResult.d.ts +30 -0
- package/dist/browser/extractKeyPhrasesResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/extractKeyPhrasesResult.js +1 -1
- package/dist/browser/extractKeyPhrasesResult.js.map +1 -0
- package/dist/browser/extractKeyPhrasesResultArray.d.ts +24 -0
- package/dist/browser/extractKeyPhrasesResultArray.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/extractKeyPhrasesResultArray.js +2 -2
- package/dist/browser/extractKeyPhrasesResultArray.js.map +1 -0
- package/dist/browser/generated/generatedClient.d.ts +99 -0
- package/dist/browser/generated/generatedClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/generatedClient.js +2 -2
- package/dist/browser/generated/generatedClient.js.map +1 -0
- package/dist/browser/generated/index.d.ts +3 -0
- package/dist/browser/generated/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/index.js +2 -2
- package/dist/browser/generated/index.js.map +1 -0
- package/dist/browser/generated/models/index.d.ts +1498 -0
- package/dist/browser/generated/models/index.d.ts.map +1 -0
- package/dist/browser/generated/models/mappers.d.ts +83 -0
- package/dist/browser/generated/models/mappers.d.ts.map +1 -0
- package/dist/browser/generated/models/parameters.d.ts +20 -0
- package/dist/browser/generated/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/models/parameters.js +1 -1
- package/dist/browser/generated/models/parameters.js.map +1 -0
- package/dist/browser/index.d.ts +21 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +2 -2
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +6 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/lro/analyze/operation.d.ts +95 -0
- package/dist/browser/lro/analyze/operation.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/lro/analyze/operation.js +4 -4
- package/dist/browser/lro/analyze/operation.js.map +1 -0
- package/dist/browser/lro/analyze/poller.d.ts +27 -0
- package/dist/browser/lro/analyze/poller.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/lro/analyze/poller.js +3 -3
- package/dist/browser/lro/analyze/poller.js.map +1 -0
- package/dist/browser/lro/health/operation.d.ts +73 -0
- package/dist/browser/lro/health/operation.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/lro/health/operation.js +4 -4
- package/dist/browser/lro/health/operation.js.map +1 -0
- package/dist/browser/lro/health/poller.d.ts +85 -0
- package/dist/browser/lro/health/poller.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/lro/health/poller.js +3 -3
- package/dist/browser/lro/health/poller.js.map +1 -0
- package/dist/browser/lro/poller.d.ts +83 -0
- package/dist/browser/lro/poller.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/lro/poller.js +1 -1
- package/dist/browser/lro/poller.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/recognizeCategorizedEntitiesResult.d.ts +35 -0
- package/dist/browser/recognizeCategorizedEntitiesResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/recognizeCategorizedEntitiesResult.js +1 -1
- package/dist/browser/recognizeCategorizedEntitiesResult.js.map +1 -0
- package/dist/browser/recognizeCategorizedEntitiesResultArray.d.ts +24 -0
- package/dist/browser/recognizeCategorizedEntitiesResultArray.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/recognizeCategorizedEntitiesResultArray.js +2 -2
- package/dist/browser/recognizeCategorizedEntitiesResultArray.js.map +1 -0
- package/dist/browser/recognizeLinkedEntitiesResult.d.ts +29 -0
- package/dist/browser/recognizeLinkedEntitiesResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/recognizeLinkedEntitiesResult.js +1 -1
- package/dist/browser/recognizeLinkedEntitiesResult.js.map +1 -0
- package/dist/browser/recognizeLinkedEntitiesResultArray.d.ts +24 -0
- package/dist/browser/recognizeLinkedEntitiesResultArray.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/recognizeLinkedEntitiesResultArray.js +2 -2
- package/dist/browser/recognizeLinkedEntitiesResultArray.js.map +1 -0
- package/dist/browser/recognizePiiEntitiesResult.d.ts +39 -0
- package/dist/browser/recognizePiiEntitiesResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/recognizePiiEntitiesResult.js +1 -1
- package/dist/browser/recognizePiiEntitiesResult.js.map +1 -0
- package/dist/browser/recognizePiiEntitiesResultArray.d.ts +24 -0
- package/dist/browser/recognizePiiEntitiesResultArray.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/recognizePiiEntitiesResultArray.js +2 -2
- package/dist/browser/recognizePiiEntitiesResultArray.js.map +1 -0
- package/dist/browser/textAnalyticsAction.d.ts +15 -0
- package/dist/browser/textAnalyticsAction.d.ts.map +1 -0
- package/dist/browser/textAnalyticsClient.d.ts +473 -0
- package/dist/browser/textAnalyticsClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/textAnalyticsClient.js +13 -13
- package/dist/browser/textAnalyticsClient.js.map +1 -0
- package/dist/browser/textAnalyticsOperationOptions.d.ts +26 -0
- package/dist/browser/textAnalyticsOperationOptions.d.ts.map +1 -0
- package/dist/browser/textAnalyticsResult.d.ts +136 -0
- package/dist/browser/textAnalyticsResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/textAnalyticsResult.js +1 -1
- package/dist/browser/textAnalyticsResult.js.map +1 -0
- package/dist/browser/util.d.ts +112 -0
- package/dist/browser/util.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util.js +1 -1
- package/dist/browser/util.js.map +1 -0
- package/dist/commonjs/analyzeActionsResult.d.ts +200 -0
- package/dist/commonjs/analyzeActionsResult.d.ts.map +1 -0
- package/dist/commonjs/analyzeActionsResult.js +161 -0
- package/dist/commonjs/analyzeActionsResult.js.map +1 -0
- package/dist/commonjs/analyzeHealthcareEntitiesResult.d.ts +159 -0
- package/dist/commonjs/analyzeHealthcareEntitiesResult.d.ts.map +1 -0
- package/dist/commonjs/analyzeHealthcareEntitiesResult.js +57 -0
- package/dist/commonjs/analyzeHealthcareEntitiesResult.js.map +1 -0
- package/dist/commonjs/analyzeSentimentResult.d.ts +123 -0
- package/dist/commonjs/analyzeSentimentResult.d.ts.map +1 -0
- package/dist/commonjs/analyzeSentimentResult.js +78 -0
- package/dist/commonjs/analyzeSentimentResult.js.map +1 -0
- package/dist/commonjs/analyzeSentimentResultArray.d.ts +24 -0
- package/dist/commonjs/analyzeSentimentResultArray.d.ts.map +1 -0
- package/dist/commonjs/analyzeSentimentResultArray.js +14 -0
- package/dist/commonjs/analyzeSentimentResultArray.js.map +1 -0
- package/dist/commonjs/azureKeyCredentialPolicy.d.ts +9 -0
- package/dist/commonjs/azureKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/commonjs/azureKeyCredentialPolicy.js +25 -0
- package/dist/commonjs/azureKeyCredentialPolicy.js.map +1 -0
- package/dist/commonjs/constants.d.ts +5 -0
- package/dist/commonjs/constants.d.ts.map +1 -0
- package/dist/commonjs/constants.js +10 -0
- package/dist/commonjs/constants.js.map +1 -0
- package/dist/commonjs/detectLanguageResult.d.ts +29 -0
- package/dist/commonjs/detectLanguageResult.d.ts.map +1 -0
- package/dist/commonjs/detectLanguageResult.js +21 -0
- package/dist/commonjs/detectLanguageResult.js.map +1 -0
- package/dist/commonjs/detectLanguageResultArray.d.ts +24 -0
- package/dist/commonjs/detectLanguageResultArray.d.ts.map +1 -0
- package/dist/commonjs/detectLanguageResultArray.js +14 -0
- package/dist/commonjs/detectLanguageResultArray.js.map +1 -0
- package/dist/commonjs/extractKeyPhrasesResult.d.ts +30 -0
- package/dist/commonjs/extractKeyPhrasesResult.d.ts.map +1 -0
- package/dist/commonjs/extractKeyPhrasesResult.js +21 -0
- package/dist/commonjs/extractKeyPhrasesResult.js.map +1 -0
- package/dist/commonjs/extractKeyPhrasesResultArray.d.ts +24 -0
- package/dist/commonjs/extractKeyPhrasesResultArray.d.ts.map +1 -0
- package/dist/commonjs/extractKeyPhrasesResultArray.js +14 -0
- package/dist/commonjs/extractKeyPhrasesResultArray.js.map +1 -0
- package/dist/commonjs/generated/generatedClient.d.ts +99 -0
- package/dist/commonjs/generated/generatedClient.d.ts.map +1 -0
- package/dist/commonjs/generated/generatedClient.js +416 -0
- package/dist/commonjs/generated/generatedClient.js.map +1 -0
- package/dist/commonjs/generated/index.d.ts +3 -0
- package/dist/commonjs/generated/index.d.ts.map +1 -0
- package/dist/commonjs/generated/index.js +15 -0
- package/dist/commonjs/generated/index.js.map +1 -0
- package/dist/commonjs/generated/models/index.d.ts +1498 -0
- package/dist/commonjs/generated/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/models/index.js +525 -0
- package/dist/commonjs/generated/models/index.js.map +1 -0
- package/dist/commonjs/generated/models/mappers.d.ts +83 -0
- package/dist/commonjs/generated/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/models/mappers.js +2441 -0
- package/dist/commonjs/generated/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/models/parameters.d.ts +20 -0
- package/dist/commonjs/generated/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/models/parameters.js +188 -0
- package/dist/commonjs/generated/models/parameters.js.map +1 -0
- package/dist/commonjs/index.d.ts +21 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +16 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +6 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +12 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/lro/analyze/operation.d.ts +95 -0
- package/dist/commonjs/lro/analyze/operation.d.ts.map +1 -0
- package/dist/commonjs/lro/analyze/operation.js +171 -0
- package/dist/commonjs/lro/analyze/operation.js.map +1 -0
- package/dist/commonjs/lro/analyze/poller.d.ts +27 -0
- package/dist/commonjs/lro/analyze/poller.d.ts.map +1 -0
- package/dist/commonjs/lro/analyze/poller.js +30 -0
- package/dist/commonjs/lro/analyze/poller.js.map +1 -0
- package/dist/commonjs/lro/health/operation.d.ts +73 -0
- package/dist/commonjs/lro/health/operation.d.ts.map +1 -0
- package/dist/commonjs/lro/health/operation.js +201 -0
- package/dist/commonjs/lro/health/operation.js.map +1 -0
- package/dist/commonjs/lro/health/poller.d.ts +85 -0
- package/dist/commonjs/lro/health/poller.d.ts.map +1 -0
- package/dist/commonjs/lro/health/poller.js +30 -0
- package/dist/commonjs/lro/health/poller.js.map +1 -0
- package/dist/commonjs/lro/poller.d.ts +83 -0
- package/dist/commonjs/lro/poller.d.ts.map +1 -0
- package/dist/commonjs/lro/poller.js +46 -0
- package/dist/commonjs/lro/poller.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResult.d.ts +35 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResult.d.ts.map +1 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResult.js +21 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResult.js.map +1 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResultArray.d.ts +24 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResultArray.d.ts.map +1 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResultArray.js +14 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResultArray.js.map +1 -0
- package/dist/commonjs/recognizeLinkedEntitiesResult.d.ts +29 -0
- package/dist/commonjs/recognizeLinkedEntitiesResult.d.ts.map +1 -0
- package/dist/commonjs/recognizeLinkedEntitiesResult.js +21 -0
- package/dist/commonjs/recognizeLinkedEntitiesResult.js.map +1 -0
- package/dist/commonjs/recognizeLinkedEntitiesResultArray.d.ts +24 -0
- package/dist/commonjs/recognizeLinkedEntitiesResultArray.d.ts.map +1 -0
- package/dist/commonjs/recognizeLinkedEntitiesResultArray.js +14 -0
- package/dist/commonjs/recognizeLinkedEntitiesResultArray.js.map +1 -0
- package/dist/commonjs/recognizePiiEntitiesResult.d.ts +39 -0
- package/dist/commonjs/recognizePiiEntitiesResult.d.ts.map +1 -0
- package/dist/commonjs/recognizePiiEntitiesResult.js +22 -0
- package/dist/commonjs/recognizePiiEntitiesResult.js.map +1 -0
- package/dist/commonjs/recognizePiiEntitiesResultArray.d.ts +24 -0
- package/dist/commonjs/recognizePiiEntitiesResultArray.d.ts.map +1 -0
- package/dist/commonjs/recognizePiiEntitiesResultArray.js +14 -0
- package/dist/commonjs/recognizePiiEntitiesResultArray.js.map +1 -0
- package/dist/commonjs/textAnalyticsAction.d.ts +15 -0
- package/dist/commonjs/textAnalyticsAction.d.ts.map +1 -0
- package/dist/commonjs/textAnalyticsAction.js +5 -0
- package/dist/commonjs/textAnalyticsAction.js.map +1 -0
- package/dist/commonjs/textAnalyticsClient.d.ts +473 -0
- package/dist/commonjs/textAnalyticsClient.d.ts.map +1 -0
- package/dist/commonjs/textAnalyticsClient.js +417 -0
- package/dist/commonjs/textAnalyticsClient.js.map +1 -0
- package/dist/commonjs/textAnalyticsOperationOptions.d.ts +26 -0
- package/dist/commonjs/textAnalyticsOperationOptions.d.ts.map +1 -0
- package/dist/commonjs/textAnalyticsOperationOptions.js +5 -0
- package/dist/commonjs/textAnalyticsOperationOptions.js.map +1 -0
- package/dist/commonjs/textAnalyticsResult.d.ts +136 -0
- package/dist/commonjs/textAnalyticsResult.d.ts.map +1 -0
- package/dist/commonjs/textAnalyticsResult.js +75 -0
- package/dist/commonjs/textAnalyticsResult.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/commonjs/util.d.ts +112 -0
- package/dist/commonjs/util.d.ts.map +1 -0
- package/dist/commonjs/util.js +217 -0
- package/dist/commonjs/util.js.map +1 -0
- package/dist/esm/analyzeActionsResult.d.ts +200 -0
- package/dist/esm/analyzeActionsResult.d.ts.map +1 -0
- package/dist/esm/analyzeActionsResult.js +157 -0
- package/dist/esm/analyzeActionsResult.js.map +1 -0
- package/dist/esm/analyzeHealthcareEntitiesResult.d.ts +159 -0
- package/dist/esm/analyzeHealthcareEntitiesResult.d.ts.map +1 -0
- package/dist/esm/analyzeHealthcareEntitiesResult.js +53 -0
- package/dist/esm/analyzeHealthcareEntitiesResult.js.map +1 -0
- package/dist/esm/analyzeSentimentResult.d.ts +123 -0
- package/dist/esm/analyzeSentimentResult.d.ts.map +1 -0
- package/dist/esm/analyzeSentimentResult.js +74 -0
- package/dist/esm/analyzeSentimentResult.js.map +1 -0
- package/dist/esm/analyzeSentimentResultArray.d.ts +24 -0
- package/dist/esm/analyzeSentimentResultArray.d.ts.map +1 -0
- package/dist/esm/analyzeSentimentResultArray.js +11 -0
- package/dist/esm/analyzeSentimentResultArray.js.map +1 -0
- package/dist/esm/azureKeyCredentialPolicy.d.ts +9 -0
- package/dist/esm/azureKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/esm/azureKeyCredentialPolicy.js +22 -0
- package/dist/esm/azureKeyCredentialPolicy.js.map +1 -0
- package/dist/esm/constants.d.ts +5 -0
- package/dist/esm/constants.d.ts.map +1 -0
- package/dist/esm/constants.js +7 -0
- package/dist/esm/constants.js.map +1 -0
- package/dist/esm/detectLanguageResult.d.ts +29 -0
- package/dist/esm/detectLanguageResult.d.ts.map +1 -0
- package/dist/esm/detectLanguageResult.js +17 -0
- package/dist/esm/detectLanguageResult.js.map +1 -0
- package/dist/esm/detectLanguageResultArray.d.ts +24 -0
- package/dist/esm/detectLanguageResultArray.d.ts.map +1 -0
- package/dist/esm/detectLanguageResultArray.js +11 -0
- package/dist/esm/detectLanguageResultArray.js.map +1 -0
- package/dist/esm/extractKeyPhrasesResult.d.ts +30 -0
- package/dist/esm/extractKeyPhrasesResult.d.ts.map +1 -0
- package/dist/esm/extractKeyPhrasesResult.js +17 -0
- package/dist/esm/extractKeyPhrasesResult.js.map +1 -0
- package/dist/esm/extractKeyPhrasesResultArray.d.ts +24 -0
- package/dist/esm/extractKeyPhrasesResultArray.d.ts.map +1 -0
- package/dist/esm/extractKeyPhrasesResultArray.js +11 -0
- package/dist/esm/extractKeyPhrasesResultArray.js.map +1 -0
- package/dist/esm/generated/generatedClient.d.ts +99 -0
- package/dist/esm/generated/generatedClient.d.ts.map +1 -0
- package/dist/esm/generated/generatedClient.js +411 -0
- package/dist/esm/generated/generatedClient.js.map +1 -0
- package/dist/esm/generated/index.d.ts +3 -0
- package/dist/esm/generated/index.d.ts.map +1 -0
- package/dist/esm/generated/index.js +10 -0
- package/dist/esm/generated/index.js.map +1 -0
- package/dist/esm/generated/models/index.d.ts +1498 -0
- package/dist/esm/generated/models/index.d.ts.map +1 -0
- package/dist/esm/generated/models/index.js +522 -0
- package/dist/esm/generated/models/index.js.map +1 -0
- package/dist/esm/generated/models/mappers.d.ts +83 -0
- package/dist/esm/generated/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/models/mappers.js +2437 -0
- package/dist/esm/generated/models/mappers.js.map +1 -0
- package/dist/esm/generated/models/parameters.d.ts +20 -0
- package/dist/esm/generated/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/models/parameters.js +185 -0
- package/dist/esm/generated/models/parameters.js.map +1 -0
- package/dist/esm/index.d.ts +21 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +6 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +9 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/lro/analyze/operation.d.ts +95 -0
- package/dist/esm/lro/analyze/operation.d.ts.map +1 -0
- package/dist/esm/lro/analyze/operation.js +167 -0
- package/dist/esm/lro/analyze/operation.js.map +1 -0
- package/dist/esm/lro/analyze/poller.d.ts +27 -0
- package/dist/esm/lro/analyze/poller.d.ts.map +1 -0
- package/dist/esm/lro/analyze/poller.js +26 -0
- package/dist/esm/lro/analyze/poller.js.map +1 -0
- package/dist/esm/lro/health/operation.d.ts +73 -0
- package/dist/esm/lro/health/operation.d.ts.map +1 -0
- package/dist/esm/lro/health/operation.js +197 -0
- package/dist/esm/lro/health/operation.js.map +1 -0
- package/dist/esm/lro/health/poller.d.ts +85 -0
- package/dist/esm/lro/health/poller.d.ts.map +1 -0
- package/dist/esm/lro/health/poller.js +26 -0
- package/dist/esm/lro/health/poller.js.map +1 -0
- package/dist/esm/lro/poller.d.ts +83 -0
- package/dist/esm/lro/poller.d.ts.map +1 -0
- package/dist/esm/lro/poller.js +41 -0
- package/dist/esm/lro/poller.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/recognizeCategorizedEntitiesResult.d.ts +35 -0
- package/dist/esm/recognizeCategorizedEntitiesResult.d.ts.map +1 -0
- package/dist/esm/recognizeCategorizedEntitiesResult.js +17 -0
- package/dist/esm/recognizeCategorizedEntitiesResult.js.map +1 -0
- package/dist/esm/recognizeCategorizedEntitiesResultArray.d.ts +24 -0
- package/dist/esm/recognizeCategorizedEntitiesResultArray.d.ts.map +1 -0
- package/dist/esm/recognizeCategorizedEntitiesResultArray.js +11 -0
- package/dist/esm/recognizeCategorizedEntitiesResultArray.js.map +1 -0
- package/dist/esm/recognizeLinkedEntitiesResult.d.ts +29 -0
- package/dist/esm/recognizeLinkedEntitiesResult.d.ts.map +1 -0
- package/dist/esm/recognizeLinkedEntitiesResult.js +17 -0
- package/dist/esm/recognizeLinkedEntitiesResult.js.map +1 -0
- package/dist/esm/recognizeLinkedEntitiesResultArray.d.ts +24 -0
- package/dist/esm/recognizeLinkedEntitiesResultArray.d.ts.map +1 -0
- package/dist/esm/recognizeLinkedEntitiesResultArray.js +11 -0
- package/dist/esm/recognizeLinkedEntitiesResultArray.js.map +1 -0
- package/dist/esm/recognizePiiEntitiesResult.d.ts +39 -0
- package/dist/esm/recognizePiiEntitiesResult.d.ts.map +1 -0
- package/dist/esm/recognizePiiEntitiesResult.js +18 -0
- package/dist/esm/recognizePiiEntitiesResult.js.map +1 -0
- package/dist/esm/recognizePiiEntitiesResultArray.d.ts +24 -0
- package/dist/esm/recognizePiiEntitiesResultArray.d.ts.map +1 -0
- package/dist/esm/recognizePiiEntitiesResultArray.js +11 -0
- package/dist/esm/recognizePiiEntitiesResultArray.js.map +1 -0
- package/dist/esm/textAnalyticsAction.d.ts +15 -0
- package/dist/esm/textAnalyticsAction.d.ts.map +1 -0
- package/dist/esm/textAnalyticsAction.js +4 -0
- package/dist/esm/textAnalyticsAction.js.map +1 -0
- package/dist/esm/textAnalyticsClient.d.ts +473 -0
- package/dist/esm/textAnalyticsClient.d.ts.map +1 -0
- package/dist/esm/textAnalyticsClient.js +413 -0
- package/dist/esm/textAnalyticsClient.js.map +1 -0
- package/dist/esm/textAnalyticsOperationOptions.d.ts +26 -0
- package/dist/esm/textAnalyticsOperationOptions.d.ts.map +1 -0
- package/dist/esm/textAnalyticsOperationOptions.js +4 -0
- package/dist/esm/textAnalyticsOperationOptions.js.map +1 -0
- package/dist/esm/textAnalyticsResult.d.ts +136 -0
- package/dist/esm/textAnalyticsResult.d.ts.map +1 -0
- package/dist/esm/textAnalyticsResult.js +68 -0
- package/dist/esm/textAnalyticsResult.js.map +1 -0
- package/dist/esm/util.d.ts +112 -0
- package/dist/esm/util.d.ts.map +1 -0
- package/dist/esm/util.js +201 -0
- package/dist/esm/util.js.map +1 -0
- package/dist/react-native/analyzeActionsResult.d.ts +200 -0
- package/dist/react-native/analyzeActionsResult.d.ts.map +1 -0
- package/dist/react-native/analyzeActionsResult.js +157 -0
- package/dist/react-native/analyzeActionsResult.js.map +1 -0
- package/dist/react-native/analyzeHealthcareEntitiesResult.d.ts +159 -0
- package/dist/react-native/analyzeHealthcareEntitiesResult.d.ts.map +1 -0
- package/dist/react-native/analyzeHealthcareEntitiesResult.js +53 -0
- package/dist/react-native/analyzeHealthcareEntitiesResult.js.map +1 -0
- package/dist/react-native/analyzeSentimentResult.d.ts +123 -0
- package/dist/react-native/analyzeSentimentResult.d.ts.map +1 -0
- package/dist/react-native/analyzeSentimentResult.js +74 -0
- package/dist/react-native/analyzeSentimentResult.js.map +1 -0
- package/dist/react-native/analyzeSentimentResultArray.d.ts +24 -0
- package/dist/react-native/analyzeSentimentResultArray.d.ts.map +1 -0
- package/dist/react-native/analyzeSentimentResultArray.js +11 -0
- package/dist/react-native/analyzeSentimentResultArray.js.map +1 -0
- package/dist/react-native/azureKeyCredentialPolicy.d.ts +9 -0
- package/dist/react-native/azureKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/react-native/azureKeyCredentialPolicy.js +22 -0
- package/dist/react-native/azureKeyCredentialPolicy.js.map +1 -0
- package/dist/react-native/constants.d.ts +5 -0
- package/dist/react-native/constants.d.ts.map +1 -0
- package/dist/react-native/constants.js +7 -0
- package/dist/react-native/constants.js.map +1 -0
- package/dist/react-native/detectLanguageResult.d.ts +29 -0
- package/dist/react-native/detectLanguageResult.d.ts.map +1 -0
- package/dist/react-native/detectLanguageResult.js +17 -0
- package/dist/react-native/detectLanguageResult.js.map +1 -0
- package/dist/react-native/detectLanguageResultArray.d.ts +24 -0
- package/dist/react-native/detectLanguageResultArray.d.ts.map +1 -0
- package/dist/react-native/detectLanguageResultArray.js +11 -0
- package/dist/react-native/detectLanguageResultArray.js.map +1 -0
- package/dist/react-native/extractKeyPhrasesResult.d.ts +30 -0
- package/dist/react-native/extractKeyPhrasesResult.d.ts.map +1 -0
- package/dist/react-native/extractKeyPhrasesResult.js +17 -0
- package/dist/react-native/extractKeyPhrasesResult.js.map +1 -0
- package/dist/react-native/extractKeyPhrasesResultArray.d.ts +24 -0
- package/dist/react-native/extractKeyPhrasesResultArray.d.ts.map +1 -0
- package/dist/react-native/extractKeyPhrasesResultArray.js +11 -0
- package/dist/react-native/extractKeyPhrasesResultArray.js.map +1 -0
- package/dist/react-native/generated/generatedClient.d.ts +99 -0
- package/dist/react-native/generated/generatedClient.d.ts.map +1 -0
- package/dist/react-native/generated/generatedClient.js +411 -0
- package/dist/react-native/generated/generatedClient.js.map +1 -0
- package/dist/react-native/generated/index.d.ts +3 -0
- package/dist/react-native/generated/index.d.ts.map +1 -0
- package/dist/react-native/generated/index.js +10 -0
- package/dist/react-native/generated/index.js.map +1 -0
- package/dist/react-native/generated/models/index.d.ts +1498 -0
- package/dist/react-native/generated/models/index.d.ts.map +1 -0
- package/dist/react-native/generated/models/index.js +522 -0
- package/dist/react-native/generated/models/index.js.map +1 -0
- package/dist/react-native/generated/models/mappers.d.ts +83 -0
- package/dist/react-native/generated/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/models/mappers.js +2437 -0
- package/dist/react-native/generated/models/mappers.js.map +1 -0
- package/dist/react-native/generated/models/parameters.d.ts +20 -0
- package/dist/react-native/generated/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/models/parameters.js +185 -0
- package/dist/react-native/generated/models/parameters.js.map +1 -0
- package/dist/react-native/index.d.ts +21 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +7 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +6 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +9 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/lro/analyze/operation.d.ts +95 -0
- package/dist/react-native/lro/analyze/operation.d.ts.map +1 -0
- package/dist/react-native/lro/analyze/operation.js +167 -0
- package/dist/react-native/lro/analyze/operation.js.map +1 -0
- package/dist/react-native/lro/analyze/poller.d.ts +27 -0
- package/dist/react-native/lro/analyze/poller.d.ts.map +1 -0
- package/dist/react-native/lro/analyze/poller.js +26 -0
- package/dist/react-native/lro/analyze/poller.js.map +1 -0
- package/dist/react-native/lro/health/operation.d.ts +73 -0
- package/dist/react-native/lro/health/operation.d.ts.map +1 -0
- package/dist/react-native/lro/health/operation.js +197 -0
- package/dist/react-native/lro/health/operation.js.map +1 -0
- package/dist/react-native/lro/health/poller.d.ts +85 -0
- package/dist/react-native/lro/health/poller.d.ts.map +1 -0
- package/dist/react-native/lro/health/poller.js +26 -0
- package/dist/react-native/lro/health/poller.js.map +1 -0
- package/dist/react-native/lro/poller.d.ts +83 -0
- package/dist/react-native/lro/poller.d.ts.map +1 -0
- package/dist/react-native/lro/poller.js +41 -0
- package/dist/react-native/lro/poller.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/recognizeCategorizedEntitiesResult.d.ts +35 -0
- package/dist/react-native/recognizeCategorizedEntitiesResult.d.ts.map +1 -0
- package/dist/react-native/recognizeCategorizedEntitiesResult.js +17 -0
- package/dist/react-native/recognizeCategorizedEntitiesResult.js.map +1 -0
- package/dist/react-native/recognizeCategorizedEntitiesResultArray.d.ts +24 -0
- package/dist/react-native/recognizeCategorizedEntitiesResultArray.d.ts.map +1 -0
- package/dist/react-native/recognizeCategorizedEntitiesResultArray.js +11 -0
- package/dist/react-native/recognizeCategorizedEntitiesResultArray.js.map +1 -0
- package/dist/react-native/recognizeLinkedEntitiesResult.d.ts +29 -0
- package/dist/react-native/recognizeLinkedEntitiesResult.d.ts.map +1 -0
- package/dist/react-native/recognizeLinkedEntitiesResult.js +17 -0
- package/dist/react-native/recognizeLinkedEntitiesResult.js.map +1 -0
- package/dist/react-native/recognizeLinkedEntitiesResultArray.d.ts +24 -0
- package/dist/react-native/recognizeLinkedEntitiesResultArray.d.ts.map +1 -0
- package/dist/react-native/recognizeLinkedEntitiesResultArray.js +11 -0
- package/dist/react-native/recognizeLinkedEntitiesResultArray.js.map +1 -0
- package/dist/react-native/recognizePiiEntitiesResult.d.ts +39 -0
- package/dist/react-native/recognizePiiEntitiesResult.d.ts.map +1 -0
- package/dist/react-native/recognizePiiEntitiesResult.js +18 -0
- package/dist/react-native/recognizePiiEntitiesResult.js.map +1 -0
- package/dist/react-native/recognizePiiEntitiesResultArray.d.ts +24 -0
- package/dist/react-native/recognizePiiEntitiesResultArray.d.ts.map +1 -0
- package/dist/react-native/recognizePiiEntitiesResultArray.js +11 -0
- package/dist/react-native/recognizePiiEntitiesResultArray.js.map +1 -0
- package/dist/react-native/textAnalyticsAction.d.ts +15 -0
- package/dist/react-native/textAnalyticsAction.d.ts.map +1 -0
- package/dist/react-native/textAnalyticsAction.js +4 -0
- package/dist/react-native/textAnalyticsAction.js.map +1 -0
- package/dist/react-native/textAnalyticsClient.d.ts +473 -0
- package/dist/react-native/textAnalyticsClient.d.ts.map +1 -0
- package/dist/react-native/textAnalyticsClient.js +413 -0
- package/dist/react-native/textAnalyticsClient.js.map +1 -0
- package/dist/react-native/textAnalyticsOperationOptions.d.ts +26 -0
- package/dist/react-native/textAnalyticsOperationOptions.d.ts.map +1 -0
- package/dist/react-native/textAnalyticsOperationOptions.js +4 -0
- package/dist/react-native/textAnalyticsOperationOptions.js.map +1 -0
- package/dist/react-native/textAnalyticsResult.d.ts +136 -0
- package/dist/react-native/textAnalyticsResult.d.ts.map +1 -0
- package/dist/react-native/textAnalyticsResult.js +68 -0
- package/dist/react-native/textAnalyticsResult.js.map +1 -0
- package/dist/react-native/util.d.ts +112 -0
- package/dist/react-native/util.d.ts.map +1 -0
- package/dist/react-native/util.js +201 -0
- package/dist/react-native/util.js.map +1 -0
- package/package.json +68 -53
- package/dist/index.js +0 -5219
- package/dist/index.js.map +0 -1
- package/dist-esm/src/analyzeActionsResult.js.map +0 -1
- package/dist-esm/src/analyzeHealthcareEntitiesResult.js.map +0 -1
- package/dist-esm/src/analyzeSentimentResult.js.map +0 -1
- package/dist-esm/src/analyzeSentimentResultArray.js.map +0 -1
- package/dist-esm/src/detectLanguageResult.js.map +0 -1
- package/dist-esm/src/detectLanguageResultArray.js.map +0 -1
- package/dist-esm/src/extractKeyPhrasesResult.js.map +0 -1
- package/dist-esm/src/extractKeyPhrasesResultArray.js.map +0 -1
- package/dist-esm/src/generated/generatedClient.js.map +0 -1
- package/dist-esm/src/generated/index.js.map +0 -1
- package/dist-esm/src/generated/models/parameters.js.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lro/analyze/operation.js.map +0 -1
- package/dist-esm/src/lro/analyze/poller.js.map +0 -1
- package/dist-esm/src/lro/health/operation.js.map +0 -1
- package/dist-esm/src/lro/health/poller.js.map +0 -1
- package/dist-esm/src/lro/poller.js.map +0 -1
- package/dist-esm/src/recognizeCategorizedEntitiesResult.js.map +0 -1
- package/dist-esm/src/recognizeCategorizedEntitiesResultArray.js.map +0 -1
- package/dist-esm/src/recognizeLinkedEntitiesResult.js.map +0 -1
- package/dist-esm/src/recognizeLinkedEntitiesResultArray.js.map +0 -1
- package/dist-esm/src/recognizePiiEntitiesResult.js.map +0 -1
- package/dist-esm/src/recognizePiiEntitiesResultArray.js.map +0 -1
- package/dist-esm/src/textAnalyticsClient.js.map +0 -1
- package/dist-esm/src/textAnalyticsResult.js.map +0 -1
- package/dist-esm/src/util.js.map +0 -1
- package/types/ai-text-analytics.d.ts +0 -1971
- /package/{dist-esm/src → dist/browser}/azureKeyCredentialPolicy.js +0 -0
- /package/{dist-esm/src → dist/browser}/azureKeyCredentialPolicy.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/constants.js +0 -0
- /package/{dist-esm/src → dist/browser}/constants.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/index.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/mappers.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/textAnalyticsAction.js +0 -0
- /package/{dist-esm/src → dist/browser}/textAnalyticsAction.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/textAnalyticsOperationOptions.js +0 -0
- /package/{dist-esm/src → dist/browser}/textAnalyticsOperationOptions.js.map +0 -0
|
@@ -1,1971 +0,0 @@
|
|
|
1
|
-
import type { AbortSignalLike } from '@azure/abort-controller';
|
|
2
|
-
import { AzureKeyCredential } from '@azure/core-auth';
|
|
3
|
-
import type { CancelOnProgress } from '@azure/core-lro';
|
|
4
|
-
import type { CommonClientOptions } from '@azure/core-client';
|
|
5
|
-
import type { KeyCredential } from '@azure/core-auth';
|
|
6
|
-
import type { OperationOptions } from '@azure/core-client';
|
|
7
|
-
import type { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
8
|
-
import type { PollerLike } from '@azure/core-lro';
|
|
9
|
-
import type { PollOperationState } from '@azure/core-lro';
|
|
10
|
-
import type { TokenCredential } from '@azure/core-auth';
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* An interface representing the state of an analysis poller operation.
|
|
14
|
-
*/
|
|
15
|
-
export declare interface AnalysisPollOperationState<TResult> extends PollOperationState<TResult>, OperationMetadata {
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* The metadata for beginAnalyzeActions operations.
|
|
20
|
-
*/
|
|
21
|
-
export declare interface AnalyzeActionsOperationMetadata extends OperationMetadata {
|
|
22
|
-
/**
|
|
23
|
-
* Number of successfully completed actions.
|
|
24
|
-
*/
|
|
25
|
-
actionsSucceededCount: number;
|
|
26
|
-
/**
|
|
27
|
-
* Number of failed actions.
|
|
28
|
-
*/
|
|
29
|
-
actionsFailedCount: number;
|
|
30
|
-
/**
|
|
31
|
-
* Number of actions still in progress.
|
|
32
|
-
*/
|
|
33
|
-
actionsInProgressCount: number;
|
|
34
|
-
/**
|
|
35
|
-
* The operation's display name.
|
|
36
|
-
*/
|
|
37
|
-
displayName?: string;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* The state of the begin analyze polling operation.
|
|
42
|
-
*/
|
|
43
|
-
export declare interface AnalyzeActionsOperationState extends AnalysisPollOperationState<PagedAnalyzeActionsResult>, AnalyzeActionsOperationMetadata {
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Result type of the Begin Analyze Actions Long-Running-Operation (LRO).
|
|
48
|
-
*/
|
|
49
|
-
export declare type AnalyzeActionsPollerLike = PollerLike<AnalyzeActionsOperationState, PagedAnalyzeActionsResult>;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* The results of an analyze Actions operation.
|
|
53
|
-
*/
|
|
54
|
-
export declare interface AnalyzeActionsResult {
|
|
55
|
-
/**
|
|
56
|
-
* Array of the results for each categorized entities recognition action.
|
|
57
|
-
*/
|
|
58
|
-
recognizeEntitiesResults: RecognizeCategorizedEntitiesActionResult[];
|
|
59
|
-
/**
|
|
60
|
-
* Array of the results for each Pii entities recognition action.
|
|
61
|
-
*/
|
|
62
|
-
recognizePiiEntitiesResults: RecognizePiiEntitiesActionResult[];
|
|
63
|
-
/**
|
|
64
|
-
* Array of the results for each key phrases extraction action.
|
|
65
|
-
*/
|
|
66
|
-
extractKeyPhrasesResults: ExtractKeyPhrasesActionResult[];
|
|
67
|
-
/**
|
|
68
|
-
* Array of the results for each linked entities recognition action.
|
|
69
|
-
*/
|
|
70
|
-
recognizeLinkedEntitiesResults: RecognizeLinkedEntitiesActionResult[];
|
|
71
|
-
/**
|
|
72
|
-
* Array of the results for each analyze sentiment action.
|
|
73
|
-
*/
|
|
74
|
-
analyzeSentimentResults: AnalyzeSentimentActionResult[];
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* An error result from the healthcare operation on a single document.
|
|
79
|
-
*/
|
|
80
|
-
export declare type AnalyzeHealthcareEntitiesErrorResult = TextAnalyticsErrorResult;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Result type of the Health Long-Running-Operation (LRO)
|
|
84
|
-
*/
|
|
85
|
-
export declare type AnalyzeHealthcareEntitiesPollerLike = PollerLikeWithCancellation<AnalyzeHealthcareOperationState, PagedAnalyzeHealthcareEntitiesResult>;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* The result of the healthcare operation on a single document.
|
|
89
|
-
*/
|
|
90
|
-
export declare type AnalyzeHealthcareEntitiesResult = AnalyzeHealthcareEntitiesSuccessResult | AnalyzeHealthcareEntitiesErrorResult;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Array of {@link AnalyzeHealthcareEntitiesResult}
|
|
94
|
-
*/
|
|
95
|
-
export declare interface AnalyzeHealthcareEntitiesResultArray extends Array<AnalyzeHealthcareEntitiesResult> {
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* The results of a successful healthcare operation for a single document.
|
|
100
|
-
*/
|
|
101
|
-
export declare interface AnalyzeHealthcareEntitiesSuccessResult extends TextAnalyticsSuccessResult {
|
|
102
|
-
/**
|
|
103
|
-
* Healthcare entities.
|
|
104
|
-
*/
|
|
105
|
-
entities: HealthcareEntity[];
|
|
106
|
-
/**
|
|
107
|
-
* Relations between healthcare entities.
|
|
108
|
-
*/
|
|
109
|
-
entityRelations: HealthcareEntityRelation[];
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* The state of the begin analyze healthcare polling operation.
|
|
114
|
-
*/
|
|
115
|
-
export declare interface AnalyzeHealthcareOperationState extends AnalysisPollOperationState<PagedAnalyzeHealthcareEntitiesResult> {
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Options for an analyze sentiment action.
|
|
120
|
-
*/
|
|
121
|
-
export declare interface AnalyzeSentimentAction extends TextAnalyticsAction {
|
|
122
|
-
/**
|
|
123
|
-
* Specifies the measurement unit used to calculate the offset and length properties.
|
|
124
|
-
* Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit".
|
|
125
|
-
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
|
126
|
-
*/
|
|
127
|
-
stringIndexType?: StringIndexType;
|
|
128
|
-
/**
|
|
129
|
-
* If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics
|
|
130
|
-
* logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true,
|
|
131
|
-
* disables input logging and may limit our ability to remediate issues that occur.
|
|
132
|
-
*/
|
|
133
|
-
disableServiceLogs?: boolean;
|
|
134
|
-
/**
|
|
135
|
-
* Whether to mine the opinions of a sentence and conduct more granular
|
|
136
|
-
* analysis around the aspects of a product or service (also known as
|
|
137
|
-
* aspect-based sentiment analysis). If set to true, the returned
|
|
138
|
-
* `SentenceSentiment` objects will have property `opinions` containing
|
|
139
|
-
* the result of this analysis.
|
|
140
|
-
* More information about the feature can be found here: {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-sentiment-analysis?tabs=version-3-1#opinion-mining}
|
|
141
|
-
*/
|
|
142
|
-
includeOpinionMining?: boolean;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* The error of an analyze sentiment action.
|
|
147
|
-
*/
|
|
148
|
-
export declare type AnalyzeSentimentActionErrorResult = TextAnalyticsActionErrorResult;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* The result of an analyze sentiment action.
|
|
152
|
-
*/
|
|
153
|
-
export declare type AnalyzeSentimentActionResult = AnalyzeSentimentActionSuccessResult | AnalyzeSentimentActionErrorResult;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* The results of a succeeded analyze sentiment action.
|
|
157
|
-
*/
|
|
158
|
-
export declare interface AnalyzeSentimentActionSuccessResult extends TextAnalyticsActionSuccessState {
|
|
159
|
-
/**
|
|
160
|
-
* Array of the results for each analyze sentiment action.
|
|
161
|
-
*/
|
|
162
|
-
results: AnalyzeSentimentResultArray;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* An error result from the analyze sentiment operation on a single document.
|
|
167
|
-
*/
|
|
168
|
-
export declare type AnalyzeSentimentErrorResult = TextAnalyticsErrorResult;
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* Options for the analyze sentiment operation.
|
|
172
|
-
*/
|
|
173
|
-
export declare interface AnalyzeSentimentOptions extends TextAnalyticsOperationOptions {
|
|
174
|
-
/**
|
|
175
|
-
* Whether to mine the opinions of a sentence and conduct more granular
|
|
176
|
-
* analysis around the aspects of a product or service (also known as
|
|
177
|
-
* aspect-based sentiment analysis). If set to true, the returned
|
|
178
|
-
* `SentenceSentiment` objects will have property `opinions` containing
|
|
179
|
-
* the result of this analysis.
|
|
180
|
-
* More information about the feature can be found here: {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-sentiment-analysis?tabs=version-3-1#opinion-mining}
|
|
181
|
-
*/
|
|
182
|
-
includeOpinionMining?: boolean;
|
|
183
|
-
/**
|
|
184
|
-
* Specifies the measurement unit used to calculate the offset and length properties.
|
|
185
|
-
* Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit".
|
|
186
|
-
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
|
187
|
-
*/
|
|
188
|
-
stringIndexType?: StringIndexType;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* The result of the analyze sentiment operation on a single document.
|
|
193
|
-
*/
|
|
194
|
-
export declare type AnalyzeSentimentResult = AnalyzeSentimentSuccessResult | AnalyzeSentimentErrorResult;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Array of `AnalyzeSentimentResult` objects corresponding to a batch of input documents, and
|
|
198
|
-
* annotated with information about the batch operation.
|
|
199
|
-
*/
|
|
200
|
-
export declare interface AnalyzeSentimentResultArray extends Array<AnalyzeSentimentResult> {
|
|
201
|
-
/**
|
|
202
|
-
* Statistics about the input document batch and how it was processed
|
|
203
|
-
* by the service. This property will have a value when includeStatistics is set to true
|
|
204
|
-
* in the client call.
|
|
205
|
-
*/
|
|
206
|
-
statistics?: TextDocumentBatchStatistics;
|
|
207
|
-
/**
|
|
208
|
-
* The version of the text analytics model used by this operation on this
|
|
209
|
-
* batch of input documents.
|
|
210
|
-
*/
|
|
211
|
-
modelVersion: string;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* The result of the analyze sentiment operation on a single document,
|
|
216
|
-
* containing the predicted sentiment for each sentence as well as for the full document.
|
|
217
|
-
*/
|
|
218
|
-
export declare interface AnalyzeSentimentSuccessResult extends TextAnalyticsSuccessResult {
|
|
219
|
-
/**
|
|
220
|
-
* Predicted sentiment for document. Possible values
|
|
221
|
-
* include: 'positive', 'neutral', 'negative', 'mixed'
|
|
222
|
-
*/
|
|
223
|
-
sentiment: DocumentSentimentLabel;
|
|
224
|
-
/**
|
|
225
|
-
* Document level sentiment confidence scores between 0 and 1 for each sentiment class.
|
|
226
|
-
*/
|
|
227
|
-
confidenceScores: SentimentConfidenceScores;
|
|
228
|
-
/**
|
|
229
|
-
* The predicted sentiment for each sentence in the corresponding document.
|
|
230
|
-
*/
|
|
231
|
-
sentences: SentenceSentiment[];
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* AssessmentSentiment contains the predicted sentiment, confidence scores and
|
|
236
|
-
* other information about an assessment of a target. For example, in the sentence
|
|
237
|
-
* "The food is good", the assessment of the target 'food' is 'good'.
|
|
238
|
-
*/
|
|
239
|
-
export declare interface AssessmentSentiment extends SentenceAssessment {
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
export { AzureKeyCredential }
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* Options for the begin analyze actions operation.
|
|
246
|
-
*/
|
|
247
|
-
export declare interface BeginAnalyzeActionsOptions extends OperationOptions {
|
|
248
|
-
/**
|
|
249
|
-
* Delay to wait until next poll, in milliseconds.
|
|
250
|
-
*/
|
|
251
|
-
updateIntervalInMs?: number;
|
|
252
|
-
/**
|
|
253
|
-
* A serialized poller which can be used to resume an existing paused Long-Running-Operation.
|
|
254
|
-
*/
|
|
255
|
-
resumeFrom?: string;
|
|
256
|
-
/**
|
|
257
|
-
* If set to true, response will contain input and document level statistics.
|
|
258
|
-
*/
|
|
259
|
-
includeStatistics?: boolean;
|
|
260
|
-
/**
|
|
261
|
-
* The operation's display name.
|
|
262
|
-
*/
|
|
263
|
-
displayName?: string;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* Options for the begin analyze healthcare entities operation.
|
|
268
|
-
*/
|
|
269
|
-
export declare interface BeginAnalyzeHealthcareEntitiesOptions extends TextAnalyticsOperationOptions {
|
|
270
|
-
/**
|
|
271
|
-
* Delay to wait until next poll, in milliseconds.
|
|
272
|
-
*/
|
|
273
|
-
stringIndexType?: StringIndexType;
|
|
274
|
-
/**
|
|
275
|
-
* Delay to wait until next poll, in milliseconds.
|
|
276
|
-
*/
|
|
277
|
-
updateIntervalInMs?: number;
|
|
278
|
-
/**
|
|
279
|
-
* A serialized poller which can be used to resume an existing paused Long-Running-Operation.
|
|
280
|
-
*/
|
|
281
|
-
resumeFrom?: string;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* An entity from text analysis with information about its categorical
|
|
286
|
-
* classification.
|
|
287
|
-
*/
|
|
288
|
-
export declare interface CategorizedEntity extends Entity {
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
/** Information about the language of a document as identified by the Text Analytics service. */
|
|
292
|
-
export declare interface DetectedLanguage {
|
|
293
|
-
/** Long name of a detected language (e.g. English, French). */
|
|
294
|
-
name: string;
|
|
295
|
-
/** A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr). */
|
|
296
|
-
iso6391Name: string;
|
|
297
|
-
/** A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. */
|
|
298
|
-
confidenceScore: number;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* An error result from the detect languge operation on a single document.
|
|
303
|
-
*/
|
|
304
|
-
export declare type DetectLanguageErrorResult = TextAnalyticsErrorResult;
|
|
305
|
-
|
|
306
|
-
/** An input to the language detection operation. This object specifies a unique document id, as well as the full text of a document and a hint indicating the document's country of origin to assist the text analytics predictive model in detecting the document's language. */
|
|
307
|
-
export declare interface DetectLanguageInput {
|
|
308
|
-
/** Unique, non-empty document identifier. */
|
|
309
|
-
id: string;
|
|
310
|
-
text: string;
|
|
311
|
-
countryHint?: string;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* Options for the detect languages operation.
|
|
316
|
-
*/
|
|
317
|
-
export declare interface DetectLanguageOptions extends TextAnalyticsOperationOptions {
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
/**
|
|
321
|
-
* The result of the detect language operation on a single document.
|
|
322
|
-
*/
|
|
323
|
-
export declare type DetectLanguageResult = DetectLanguageSuccessResult | DetectLanguageErrorResult;
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Array of `DetectLanguageResult` objects corresponding to a batch of input documents, and
|
|
327
|
-
* annotated with information about the batch operation.
|
|
328
|
-
*/
|
|
329
|
-
export declare interface DetectLanguageResultArray extends Array<DetectLanguageResult> {
|
|
330
|
-
/**
|
|
331
|
-
* Statistics about the input document batch and how it was processed
|
|
332
|
-
* by the service. This property will have a value when includeStatistics is set to true
|
|
333
|
-
* in the client call.
|
|
334
|
-
*/
|
|
335
|
-
statistics?: TextDocumentBatchStatistics;
|
|
336
|
-
/**
|
|
337
|
-
* The version of the text analytics model used by this operation on this
|
|
338
|
-
* batch of input documents.
|
|
339
|
-
*/
|
|
340
|
-
modelVersion: string;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* The result of the detect language operation on a single document,
|
|
345
|
-
* containing a prediction of what language the document is written in.
|
|
346
|
-
*/
|
|
347
|
-
export declare interface DetectLanguageSuccessResult extends TextAnalyticsSuccessResult {
|
|
348
|
-
/**
|
|
349
|
-
* The top detected language by confidence score.
|
|
350
|
-
*/
|
|
351
|
-
readonly primaryLanguage: DetectedLanguage;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/** Defines values for DocumentSentimentLabel. */
|
|
355
|
-
export declare type DocumentSentimentLabel = "positive" | "neutral" | "negative" | "mixed";
|
|
356
|
-
|
|
357
|
-
/** A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Text Analytics service is described at https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types . */
|
|
358
|
-
export declare interface Entity {
|
|
359
|
-
/** Entity text as appears in the request. */
|
|
360
|
-
text: string;
|
|
361
|
-
/** Entity type. */
|
|
362
|
-
category: string;
|
|
363
|
-
/** (Optional) Entity sub type. */
|
|
364
|
-
subCategory?: string;
|
|
365
|
-
/** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */
|
|
366
|
-
offset: number;
|
|
367
|
-
/** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */
|
|
368
|
-
length: number;
|
|
369
|
-
/** Confidence score between 0 and 1 of the extracted entity. */
|
|
370
|
-
confidenceScore: number;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
export declare interface EntityAssertion {
|
|
374
|
-
/** Describes any conditionality on the entity. */
|
|
375
|
-
conditionality?: EntityConditionality;
|
|
376
|
-
/** Describes the entities certainty and polarity. */
|
|
377
|
-
certainty?: EntityCertainty;
|
|
378
|
-
/** Describes if the entity is the subject of the text or if it describes someone else. */
|
|
379
|
-
association?: EntityAssociation;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
/** Defines values for Association. */
|
|
383
|
-
export declare type EntityAssociation = "subject" | "other";
|
|
384
|
-
|
|
385
|
-
/** Defines values for Certainty. */
|
|
386
|
-
export declare type EntityCertainty = "positive" | "positivePossible" | "neutralPossible" | "negativePossible" | "negative";
|
|
387
|
-
|
|
388
|
-
/** Defines values for Conditionality. */
|
|
389
|
-
export declare type EntityConditionality = "hypothetical" | "conditional";
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
* A type representing a reference for the healthcare entity into a specific
|
|
393
|
-
* entity catalog.
|
|
394
|
-
*/
|
|
395
|
-
export declare interface EntityDataSource {
|
|
396
|
-
/**
|
|
397
|
-
* Entity Catalog. Examples include: UMLS, CHV, MSH, etc.
|
|
398
|
-
*/
|
|
399
|
-
name: string;
|
|
400
|
-
/**
|
|
401
|
-
* Entity id in the given source catalog.
|
|
402
|
-
*/
|
|
403
|
-
entityId: string;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* An Error Code returned from the Text Analytics service. Possible
|
|
408
|
-
* values include:
|
|
409
|
-
*
|
|
410
|
-
* For more information about the error, see the `message` property of the associated error.
|
|
411
|
-
*/
|
|
412
|
-
export declare type ErrorCode = ErrorCodeValue | InnerErrorCodeValue;
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* Defines values for ErrorCodeValue. \
|
|
416
|
-
* {@link KnownErrorCodeValue} can be used interchangeably with ErrorCodeValue,
|
|
417
|
-
* this enum contains the known values that the service supports.
|
|
418
|
-
* ### Known values supported by the service
|
|
419
|
-
* **InvalidRequest** \
|
|
420
|
-
* **InvalidArgument** \
|
|
421
|
-
* **InternalServerError** \
|
|
422
|
-
* **ServiceUnavailable** \
|
|
423
|
-
* **NotFound**
|
|
424
|
-
*/
|
|
425
|
-
export declare type ErrorCodeValue = string;
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* Options for a key phrases recognition action.
|
|
429
|
-
*/
|
|
430
|
-
export declare interface ExtractKeyPhrasesAction extends TextAnalyticsAction {
|
|
431
|
-
/**
|
|
432
|
-
* If set to false, you opt-in to have your text input logged for troubleshooting. By default, Text Analytics
|
|
433
|
-
* will not log your input text for pii entities recognition. Setting this parameter to false,
|
|
434
|
-
* enables input logging.
|
|
435
|
-
*/
|
|
436
|
-
disableServiceLogs?: boolean;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* The error of a extract key phrases action.
|
|
441
|
-
*/
|
|
442
|
-
export declare type ExtractKeyPhrasesActionErrorResult = TextAnalyticsActionErrorResult;
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
* The result of a extract key phrases action.
|
|
446
|
-
*/
|
|
447
|
-
export declare type ExtractKeyPhrasesActionResult = ExtractKeyPhrasesActionSuccessResult | ExtractKeyPhrasesActionErrorResult;
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* The results of a succeeded extract key phrases action.
|
|
451
|
-
*/
|
|
452
|
-
export declare interface ExtractKeyPhrasesActionSuccessResult extends TextAnalyticsActionSuccessState {
|
|
453
|
-
/**
|
|
454
|
-
* Array of the results for each extract key phrases action.
|
|
455
|
-
*/
|
|
456
|
-
results: ExtractKeyPhrasesResultArray;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* An error result from the extract key phrases operation on a single document.
|
|
461
|
-
*/
|
|
462
|
-
export declare type ExtractKeyPhrasesErrorResult = TextAnalyticsErrorResult;
|
|
463
|
-
|
|
464
|
-
/**
|
|
465
|
-
* Options for the extract key phrases operation.
|
|
466
|
-
*/
|
|
467
|
-
export declare interface ExtractKeyPhrasesOptions extends TextAnalyticsOperationOptions {
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
* The result of the extract key phrases operation on a single document.
|
|
472
|
-
*/
|
|
473
|
-
export declare type ExtractKeyPhrasesResult = ExtractKeyPhrasesSuccessResult | ExtractKeyPhrasesErrorResult;
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* Array of `ExtractKeyPhrasesResult` objects corresponding to a batch of input documents, and
|
|
477
|
-
* annotated with information about the batch operation.
|
|
478
|
-
*/
|
|
479
|
-
export declare interface ExtractKeyPhrasesResultArray extends Array<ExtractKeyPhrasesResult> {
|
|
480
|
-
/**
|
|
481
|
-
* Statistics about the input document batch and how it was processed
|
|
482
|
-
* by the service. This property will have a value when includeStatistics is set to true
|
|
483
|
-
* in the client call.
|
|
484
|
-
*/
|
|
485
|
-
statistics?: TextDocumentBatchStatistics;
|
|
486
|
-
/**
|
|
487
|
-
* The version of the text analytics model used by this operation on this
|
|
488
|
-
* batch of input documents.
|
|
489
|
-
*/
|
|
490
|
-
modelVersion: string;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* The result of the extract key phrases operation on a single document,
|
|
495
|
-
* containing a collection of the key phrases identified in that document.
|
|
496
|
-
*/
|
|
497
|
-
export declare interface ExtractKeyPhrasesSuccessResult extends TextAnalyticsSuccessResult {
|
|
498
|
-
/**
|
|
499
|
-
* A list of representative words or phrases. The number of key phrases returned is proportional
|
|
500
|
-
* to the number of words in the input document.
|
|
501
|
-
*/
|
|
502
|
-
keyPhrases: string[];
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* A healthcare entity represented as a node in a directed graph where the edges are
|
|
507
|
-
* a particular type of relationship between the source and target nodes.
|
|
508
|
-
*/
|
|
509
|
-
export declare interface HealthcareEntity extends Entity {
|
|
510
|
-
/**
|
|
511
|
-
* Normalized name for the entity. For example, the normalized text for "histologically" is "histologic".
|
|
512
|
-
*/
|
|
513
|
-
normalizedText?: string;
|
|
514
|
-
/**
|
|
515
|
-
* Whether the entity is negated.
|
|
516
|
-
*/
|
|
517
|
-
assertion?: EntityAssertion;
|
|
518
|
-
/**
|
|
519
|
-
* Entity references in known data sources.
|
|
520
|
-
*/
|
|
521
|
-
dataSources: EntityDataSource[];
|
|
522
|
-
/**
|
|
523
|
-
* Defines values for HealthcareEntityCategory.
|
|
524
|
-
* {@link KnownHealthcareEntityCategory} can be used interchangeably with HealthcareEntityCategory,
|
|
525
|
-
* this enum contains the known values that the service supports.
|
|
526
|
-
* ### Known values supported by the service
|
|
527
|
-
* **BODY_STRUCTURE**
|
|
528
|
-
* **AGE**
|
|
529
|
-
* **GENDER**
|
|
530
|
-
* **EXAMINATION_NAME**
|
|
531
|
-
* **DATE**
|
|
532
|
-
* **DIRECTION**
|
|
533
|
-
* **FREQUENCY**
|
|
534
|
-
* **MEASUREMENT_VALUE**
|
|
535
|
-
* **MEASUREMENT_UNIT**
|
|
536
|
-
* **RELATIONAL_OPERATOR**
|
|
537
|
-
* **TIME**
|
|
538
|
-
* **GENE_OR_PROTEIN**
|
|
539
|
-
* **VARIANT**
|
|
540
|
-
* **ADMINISTRATIVE_EVENT**
|
|
541
|
-
* **CARE_ENVIRONMENT**
|
|
542
|
-
* **HEALTHCARE_PROFESSION**
|
|
543
|
-
* **DIAGNOSIS**
|
|
544
|
-
* **SYMPTOM_OR_SIGN**
|
|
545
|
-
* **CONDITION_QUALIFIER**
|
|
546
|
-
* **MEDICATION_CLASS**
|
|
547
|
-
* **MEDICATION_NAME**
|
|
548
|
-
* **DOSAGE**
|
|
549
|
-
* **MEDICATION_FORM**
|
|
550
|
-
* **MEDICATION_ROUTE**
|
|
551
|
-
* **FAMILY_RELATION**
|
|
552
|
-
* **TREATMENT_NAME**
|
|
553
|
-
*/
|
|
554
|
-
category: HealthcareEntityCategory;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
/**
|
|
558
|
-
* Defines values for HealthcareEntityCategory. \
|
|
559
|
-
* {@link KnownHealthcareEntityCategory} can be used interchangeably with HealthcareEntityCategory,
|
|
560
|
-
* this enum contains the known values that the service supports.
|
|
561
|
-
* ### Known values supported by the service
|
|
562
|
-
* **BODY_STRUCTURE** \
|
|
563
|
-
* **AGE** \
|
|
564
|
-
* **GENDER** \
|
|
565
|
-
* **EXAMINATION_NAME** \
|
|
566
|
-
* **DATE** \
|
|
567
|
-
* **DIRECTION** \
|
|
568
|
-
* **FREQUENCY** \
|
|
569
|
-
* **MEASUREMENT_VALUE** \
|
|
570
|
-
* **MEASUREMENT_UNIT** \
|
|
571
|
-
* **RELATIONAL_OPERATOR** \
|
|
572
|
-
* **TIME** \
|
|
573
|
-
* **GENE_OR_PROTEIN** \
|
|
574
|
-
* **VARIANT** \
|
|
575
|
-
* **ADMINISTRATIVE_EVENT** \
|
|
576
|
-
* **CARE_ENVIRONMENT** \
|
|
577
|
-
* **HEALTHCARE_PROFESSION** \
|
|
578
|
-
* **DIAGNOSIS** \
|
|
579
|
-
* **SYMPTOM_OR_SIGN** \
|
|
580
|
-
* **CONDITION_QUALIFIER** \
|
|
581
|
-
* **MEDICATION_CLASS** \
|
|
582
|
-
* **MEDICATION_NAME** \
|
|
583
|
-
* **DOSAGE** \
|
|
584
|
-
* **MEDICATION_FORM** \
|
|
585
|
-
* **MEDICATION_ROUTE** \
|
|
586
|
-
* **FAMILY_RELATION** \
|
|
587
|
-
* **TREATMENT_NAME**
|
|
588
|
-
*/
|
|
589
|
-
export declare type HealthcareEntityCategory = string;
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
* A relationship between two or more healthcare entities.
|
|
593
|
-
*/
|
|
594
|
-
export declare interface HealthcareEntityRelation {
|
|
595
|
-
/**
|
|
596
|
-
* The type of the healthcare relation.
|
|
597
|
-
*/
|
|
598
|
-
relationType: HealthcareEntityRelationType;
|
|
599
|
-
/**
|
|
600
|
-
* The list of healthcare entities and their roles in the healthcare relation.
|
|
601
|
-
*/
|
|
602
|
-
roles: HealthcareEntityRelationRole[];
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
/**
|
|
606
|
-
* A healthcare entity that plays a specific role in a relation.
|
|
607
|
-
*/
|
|
608
|
-
export declare interface HealthcareEntityRelationRole {
|
|
609
|
-
/**
|
|
610
|
-
* A healthcare entity
|
|
611
|
-
*/
|
|
612
|
-
entity: HealthcareEntity;
|
|
613
|
-
/**
|
|
614
|
-
* The role of the healthcare entity in a particular relation.
|
|
615
|
-
*/
|
|
616
|
-
name: HealthcareEntityRelationRoleType;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
* The type of different roles a healthcare entity can play in a relation.
|
|
621
|
-
*/
|
|
622
|
-
export declare type HealthcareEntityRelationRoleType = string;
|
|
623
|
-
|
|
624
|
-
/**
|
|
625
|
-
* Defines values for RelationType. \
|
|
626
|
-
* {@link KnownRelationType} can be used interchangeably with RelationType,
|
|
627
|
-
* this enum contains the known values that the service supports.
|
|
628
|
-
* ### Known values supported by the service
|
|
629
|
-
* **Abbreviation** \
|
|
630
|
-
* **DirectionOfBodyStructure** \
|
|
631
|
-
* **DirectionOfCondition** \
|
|
632
|
-
* **DirectionOfExamination** \
|
|
633
|
-
* **DirectionOfTreatment** \
|
|
634
|
-
* **DosageOfMedication** \
|
|
635
|
-
* **FormOfMedication** \
|
|
636
|
-
* **FrequencyOfMedication** \
|
|
637
|
-
* **FrequencyOfTreatment** \
|
|
638
|
-
* **QualifierOfCondition** \
|
|
639
|
-
* **RelationOfExamination** \
|
|
640
|
-
* **RouteOfMedication** \
|
|
641
|
-
* **TimeOfCondition** \
|
|
642
|
-
* **TimeOfEvent** \
|
|
643
|
-
* **TimeOfExamination** \
|
|
644
|
-
* **TimeOfMedication** \
|
|
645
|
-
* **TimeOfTreatment** \
|
|
646
|
-
* **UnitOfCondition** \
|
|
647
|
-
* **UnitOfExamination** \
|
|
648
|
-
* **ValueOfCondition** \
|
|
649
|
-
* **ValueOfExamination**
|
|
650
|
-
*/
|
|
651
|
-
export declare type HealthcareEntityRelationType = string;
|
|
652
|
-
|
|
653
|
-
/**
|
|
654
|
-
* Defines values for InnerErrorCodeValue. \
|
|
655
|
-
* {@link KnownInnerErrorCodeValue} can be used interchangeably with InnerErrorCodeValue,
|
|
656
|
-
* this enum contains the known values that the service supports.
|
|
657
|
-
* ### Known values supported by the service
|
|
658
|
-
* **InvalidParameterValue** \
|
|
659
|
-
* **InvalidRequestBodyFormat** \
|
|
660
|
-
* **EmptyRequest** \
|
|
661
|
-
* **MissingInputRecords** \
|
|
662
|
-
* **InvalidDocument** \
|
|
663
|
-
* **ModelVersionIncorrect** \
|
|
664
|
-
* **InvalidDocumentBatch** \
|
|
665
|
-
* **UnsupportedLanguageCode** \
|
|
666
|
-
* **InvalidCountryHint**
|
|
667
|
-
*/
|
|
668
|
-
export declare type InnerErrorCodeValue = string;
|
|
669
|
-
|
|
670
|
-
/** Known values of {@link HealthcareEntityCategory} that the service accepts. */
|
|
671
|
-
export declare enum KnownHealthcareEntityCategory {
|
|
672
|
-
/** BodyStructure */
|
|
673
|
-
BodyStructure = "BODY_STRUCTURE",
|
|
674
|
-
/** AGE */
|
|
675
|
-
AGE = "AGE",
|
|
676
|
-
/** Gender */
|
|
677
|
-
Gender = "GENDER",
|
|
678
|
-
/** ExaminationName */
|
|
679
|
-
ExaminationName = "EXAMINATION_NAME",
|
|
680
|
-
/** Date */
|
|
681
|
-
Date = "DATE",
|
|
682
|
-
/** Direction */
|
|
683
|
-
Direction = "DIRECTION",
|
|
684
|
-
/** Frequency */
|
|
685
|
-
Frequency = "FREQUENCY",
|
|
686
|
-
/** MeasurementValue */
|
|
687
|
-
MeasurementValue = "MEASUREMENT_VALUE",
|
|
688
|
-
/** MeasurementUnit */
|
|
689
|
-
MeasurementUnit = "MEASUREMENT_UNIT",
|
|
690
|
-
/** RelationalOperator */
|
|
691
|
-
RelationalOperator = "RELATIONAL_OPERATOR",
|
|
692
|
-
/** Time */
|
|
693
|
-
Time = "TIME",
|
|
694
|
-
/** GeneORProtein */
|
|
695
|
-
GeneORProtein = "GENE_OR_PROTEIN",
|
|
696
|
-
/** Variant */
|
|
697
|
-
Variant = "VARIANT",
|
|
698
|
-
/** AdministrativeEvent */
|
|
699
|
-
AdministrativeEvent = "ADMINISTRATIVE_EVENT",
|
|
700
|
-
/** CareEnvironment */
|
|
701
|
-
CareEnvironment = "CARE_ENVIRONMENT",
|
|
702
|
-
/** HealthcareProfession */
|
|
703
|
-
HealthcareProfession = "HEALTHCARE_PROFESSION",
|
|
704
|
-
/** Diagnosis */
|
|
705
|
-
Diagnosis = "DIAGNOSIS",
|
|
706
|
-
/** SymptomORSign */
|
|
707
|
-
SymptomORSign = "SYMPTOM_OR_SIGN",
|
|
708
|
-
/** ConditionQualifier */
|
|
709
|
-
ConditionQualifier = "CONDITION_QUALIFIER",
|
|
710
|
-
/** MedicationClass */
|
|
711
|
-
MedicationClass = "MEDICATION_CLASS",
|
|
712
|
-
/** MedicationName */
|
|
713
|
-
MedicationName = "MEDICATION_NAME",
|
|
714
|
-
/** Dosage */
|
|
715
|
-
Dosage = "DOSAGE",
|
|
716
|
-
/** MedicationForm */
|
|
717
|
-
MedicationForm = "MEDICATION_FORM",
|
|
718
|
-
/** MedicationRoute */
|
|
719
|
-
MedicationRoute = "MEDICATION_ROUTE",
|
|
720
|
-
/** FamilyRelation */
|
|
721
|
-
FamilyRelation = "FAMILY_RELATION",
|
|
722
|
-
/** TreatmentName */
|
|
723
|
-
TreatmentName = "TREATMENT_NAME"
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
/** Known values of {@link InnerErrorCodeValue} that the service accepts. */
|
|
727
|
-
export declare enum KnownInnerErrorCodeValue {
|
|
728
|
-
/** InvalidParameterValue */
|
|
729
|
-
InvalidParameterValue = "InvalidParameterValue",
|
|
730
|
-
/** InvalidRequestBodyFormat */
|
|
731
|
-
InvalidRequestBodyFormat = "InvalidRequestBodyFormat",
|
|
732
|
-
/** EmptyRequest */
|
|
733
|
-
EmptyRequest = "EmptyRequest",
|
|
734
|
-
/** MissingInputRecords */
|
|
735
|
-
MissingInputRecords = "MissingInputRecords",
|
|
736
|
-
/** InvalidDocument */
|
|
737
|
-
InvalidDocument = "InvalidDocument",
|
|
738
|
-
/** ModelVersionIncorrect */
|
|
739
|
-
ModelVersionIncorrect = "ModelVersionIncorrect",
|
|
740
|
-
/** InvalidDocumentBatch */
|
|
741
|
-
InvalidDocumentBatch = "InvalidDocumentBatch",
|
|
742
|
-
/** UnsupportedLanguageCode */
|
|
743
|
-
UnsupportedLanguageCode = "UnsupportedLanguageCode",
|
|
744
|
-
/** InvalidCountryHint */
|
|
745
|
-
InvalidCountryHint = "InvalidCountryHint"
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
/** Known values of {@link WarningCode} that the service accepts. */
|
|
749
|
-
export declare enum KnownWarningCode {
|
|
750
|
-
/** LongWordsInDocument */
|
|
751
|
-
LongWordsInDocument = "LongWordsInDocument",
|
|
752
|
-
/** DocumentTruncated */
|
|
753
|
-
DocumentTruncated = "DocumentTruncated"
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
/** A word or phrase identified as a well-known entity within a database, including its formal (disambiguated) name and a link to the entity information within the source database. */
|
|
757
|
-
export declare interface LinkedEntity {
|
|
758
|
-
/** Entity Linking formal name. */
|
|
759
|
-
name: string;
|
|
760
|
-
/** List of instances this entity appears in the text. */
|
|
761
|
-
matches: Match[];
|
|
762
|
-
/** Language used in the data source. */
|
|
763
|
-
language: string;
|
|
764
|
-
/** Unique identifier of the recognized entity from the data source. */
|
|
765
|
-
dataSourceEntityId?: string;
|
|
766
|
-
/** URL for the entity's page from the data source. */
|
|
767
|
-
url: string;
|
|
768
|
-
/** Data source used to extract entity linking, such as Wiki/Bing etc. */
|
|
769
|
-
dataSource: string;
|
|
770
|
-
/** Bing Entity Search API unique identifier of the recognized entity. */
|
|
771
|
-
bingEntitySearchApiId?: string;
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
/** Details about the specific substring in a document that refers to a linked entity identified by the Text Analytics model. */
|
|
775
|
-
export declare interface Match {
|
|
776
|
-
/** If a well known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned. */
|
|
777
|
-
confidenceScore: number;
|
|
778
|
-
/** Entity text as appears in the request. */
|
|
779
|
-
text: string;
|
|
780
|
-
/** Start position for the entity match text. */
|
|
781
|
-
offset: number;
|
|
782
|
-
/** Length for the entity match text. */
|
|
783
|
-
length: number;
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* Metadata information for an analysis poller operation.
|
|
788
|
-
*/
|
|
789
|
-
export declare interface OperationMetadata {
|
|
790
|
-
/**
|
|
791
|
-
* The date and time the operation was created.
|
|
792
|
-
*/
|
|
793
|
-
createdOn: Date;
|
|
794
|
-
/**
|
|
795
|
-
* The date and time when the operation results will expire on the server.
|
|
796
|
-
*/
|
|
797
|
-
expiresOn?: Date;
|
|
798
|
-
/**
|
|
799
|
-
* The operation id.
|
|
800
|
-
*/
|
|
801
|
-
operationId: string;
|
|
802
|
-
/**
|
|
803
|
-
* The time the operation status was last updated.
|
|
804
|
-
*/
|
|
805
|
-
lastModifiedOn: Date;
|
|
806
|
-
/**
|
|
807
|
-
* The current status of the operation.
|
|
808
|
-
*/
|
|
809
|
-
status: TextAnalyticsOperationStatus;
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
/**
|
|
813
|
-
* A mined opinion object represents an opinion we've extracted from a sentence.
|
|
814
|
-
* It consists of both a target that these assessments are about, and the actual
|
|
815
|
-
* assessments themselves.
|
|
816
|
-
*/
|
|
817
|
-
export declare interface Opinion {
|
|
818
|
-
/**
|
|
819
|
-
* The target of a product/service that this assessment is about.
|
|
820
|
-
*/
|
|
821
|
-
target: TargetSentiment;
|
|
822
|
-
/**
|
|
823
|
-
* The actual assessments of the target.
|
|
824
|
-
*/
|
|
825
|
-
assessments: AssessmentSentiment[];
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
* The results of an analyze actions operation represented as a paged iterator that
|
|
830
|
-
* iterates over the results of the requested actions.
|
|
831
|
-
*/
|
|
832
|
-
export declare interface PagedAnalyzeActionsResult extends PagedAsyncIterableAnalyzeActionsResult {
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
/**
|
|
836
|
-
* The results of a healthcare operation represented as a paged iterator that can
|
|
837
|
-
* either iterate over the results on a document-by-document basis or, by
|
|
838
|
-
* byPage(), can iterate over pages of documents.
|
|
839
|
-
*/
|
|
840
|
-
export declare interface PagedAnalyzeHealthcareEntitiesResult extends PagedAsyncIterableAnalyzeHealthcareEntitiesResult {
|
|
841
|
-
/**
|
|
842
|
-
* Statistics about the input document batch and how it was processed
|
|
843
|
-
* by the service. This property will have a value when includeStatistics is set to true
|
|
844
|
-
* in the client call.
|
|
845
|
-
*/
|
|
846
|
-
statistics?: TextDocumentBatchStatistics;
|
|
847
|
-
/**
|
|
848
|
-
* The version of the text analytics model used by this operation on this
|
|
849
|
-
* batch of input documents.
|
|
850
|
-
*/
|
|
851
|
-
modelVersion: string;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
/**
|
|
855
|
-
* The results of an analyze Actions operation represented as a paged iterator that
|
|
856
|
-
* iterates over the results of the requested actions.
|
|
857
|
-
*/
|
|
858
|
-
export declare type PagedAsyncIterableAnalyzeActionsResult = PagedAsyncIterableIterator<AnalyzeActionsResult, AnalyzeActionsResult>;
|
|
859
|
-
|
|
860
|
-
/**
|
|
861
|
-
* The results of a healthcare operation represented as a paged iterator that can
|
|
862
|
-
* either iterate over the results on a document-by-document basis or, by
|
|
863
|
-
* byPage(), can iterate over pages of documents.
|
|
864
|
-
*/
|
|
865
|
-
export declare type PagedAsyncIterableAnalyzeHealthcareEntitiesResult = PagedAsyncIterableIterator<AnalyzeHealthcareEntitiesResult, AnalyzeHealthcareEntitiesResultArray>;
|
|
866
|
-
|
|
867
|
-
/**
|
|
868
|
-
* An entity from PII recognition with information about the kind of PII
|
|
869
|
-
* encountered.
|
|
870
|
-
*/
|
|
871
|
-
export declare interface PiiEntity extends Entity {
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
/**
|
|
875
|
-
* Defines values for PiiCategory. \
|
|
876
|
-
* {@link KnownPiiCategory} can be used interchangeably with PiiCategory,
|
|
877
|
-
* this enum contains the known values that the service supports.
|
|
878
|
-
* ### Known values supported by the service
|
|
879
|
-
* **ABARoutingNumber** \
|
|
880
|
-
* **ARNationalIdentityNumber** \
|
|
881
|
-
* **AUBankAccountNumber** \
|
|
882
|
-
* **AUDriversLicenseNumber** \
|
|
883
|
-
* **AUMedicalAccountNumber** \
|
|
884
|
-
* **AUPassportNumber** \
|
|
885
|
-
* **AUTaxFileNumber** \
|
|
886
|
-
* **AUBusinessNumber** \
|
|
887
|
-
* **AUCompanyNumber** \
|
|
888
|
-
* **ATIdentityCard** \
|
|
889
|
-
* **ATTaxIdentificationNumber** \
|
|
890
|
-
* **ATValueAddedTaxNumber** \
|
|
891
|
-
* **AzureDocumentDBAuthKey** \
|
|
892
|
-
* **AzureIAASDatabaseConnectionAndSQLString** \
|
|
893
|
-
* **AzureIoTConnectionString** \
|
|
894
|
-
* **AzurePublishSettingPassword** \
|
|
895
|
-
* **AzureRedisCacheString** \
|
|
896
|
-
* **AzureSAS** \
|
|
897
|
-
* **AzureServiceBusString** \
|
|
898
|
-
* **AzureStorageAccountKey** \
|
|
899
|
-
* **AzureStorageAccountGeneric** \
|
|
900
|
-
* **BENationalNumber** \
|
|
901
|
-
* **BENationalNumberV2** \
|
|
902
|
-
* **BEValueAddedTaxNumber** \
|
|
903
|
-
* **BRCPFNumber** \
|
|
904
|
-
* **BRLegalEntityNumber** \
|
|
905
|
-
* **BRNationalIDRG** \
|
|
906
|
-
* **BGUniformCivilNumber** \
|
|
907
|
-
* **CABankAccountNumber** \
|
|
908
|
-
* **CADriversLicenseNumber** \
|
|
909
|
-
* **CAHealthServiceNumber** \
|
|
910
|
-
* **CAPassportNumber** \
|
|
911
|
-
* **CAPersonalHealthIdentification** \
|
|
912
|
-
* **CASocialInsuranceNumber** \
|
|
913
|
-
* **CLIdentityCardNumber** \
|
|
914
|
-
* **CNResidentIdentityCardNumber** \
|
|
915
|
-
* **CreditCardNumber** \
|
|
916
|
-
* **HRIdentityCardNumber** \
|
|
917
|
-
* **HRNationalIDNumber** \
|
|
918
|
-
* **HRPersonalIdentificationNumber** \
|
|
919
|
-
* **HRPersonalIdentificationOIBNumberV2** \
|
|
920
|
-
* **CYIdentityCard** \
|
|
921
|
-
* **CYTaxIdentificationNumber** \
|
|
922
|
-
* **CZPersonalIdentityNumber** \
|
|
923
|
-
* **CZPersonalIdentityV2** \
|
|
924
|
-
* **DKPersonalIdentificationNumber** \
|
|
925
|
-
* **DKPersonalIdentificationV2** \
|
|
926
|
-
* **DrugEnforcementAgencyNumber** \
|
|
927
|
-
* **EEPersonalIdentificationCode** \
|
|
928
|
-
* **EUDebitCardNumber** \
|
|
929
|
-
* **EUDriversLicenseNumber** \
|
|
930
|
-
* **EUGPSCoordinates** \
|
|
931
|
-
* **EUNationalIdentificationNumber** \
|
|
932
|
-
* **EUPassportNumber** \
|
|
933
|
-
* **EUSocialSecurityNumber** \
|
|
934
|
-
* **EUTaxIdentificationNumber** \
|
|
935
|
-
* **FIEuropeanHealthNumber** \
|
|
936
|
-
* **FINationalID** \
|
|
937
|
-
* **FINationalIDV2** \
|
|
938
|
-
* **FIPassportNumber** \
|
|
939
|
-
* **FRDriversLicenseNumber** \
|
|
940
|
-
* **FRHealthInsuranceNumber** \
|
|
941
|
-
* **FRNationalID** \
|
|
942
|
-
* **FRPassportNumber** \
|
|
943
|
-
* **FRSocialSecurityNumber** \
|
|
944
|
-
* **FRTaxIdentificationNumber** \
|
|
945
|
-
* **FRValueAddedTaxNumber** \
|
|
946
|
-
* **DEDriversLicenseNumber** \
|
|
947
|
-
* **DEPassportNumber** \
|
|
948
|
-
* **DEIdentityCardNumber** \
|
|
949
|
-
* **DETaxIdentificationNumber** \
|
|
950
|
-
* **DEValueAddedNumber** \
|
|
951
|
-
* **GRNationalIDCard** \
|
|
952
|
-
* **GRNationalIDV2** \
|
|
953
|
-
* **GRTaxIdentificationNumber** \
|
|
954
|
-
* **HKIdentityCardNumber** \
|
|
955
|
-
* **HUValueAddedNumber** \
|
|
956
|
-
* **HUPersonalIdentificationNumber** \
|
|
957
|
-
* **HUTaxIdentificationNumber** \
|
|
958
|
-
* **INPermanentAccount** \
|
|
959
|
-
* **INUniqueIdentificationNumber** \
|
|
960
|
-
* **IDIdentityCardNumber** \
|
|
961
|
-
* **InternationalBankingAccountNumber** \
|
|
962
|
-
* **IEPersonalPublicServiceNumber** \
|
|
963
|
-
* **IEPersonalPublicServiceNumberV2** \
|
|
964
|
-
* **ILBankAccountNumber** \
|
|
965
|
-
* **ILNationalID** \
|
|
966
|
-
* **ITDriversLicenseNumber** \
|
|
967
|
-
* **ITFiscalCode** \
|
|
968
|
-
* **ITValueAddedTaxNumber** \
|
|
969
|
-
* **JPBankAccountNumber** \
|
|
970
|
-
* **JPDriversLicenseNumber** \
|
|
971
|
-
* **JPPassportNumber** \
|
|
972
|
-
* **JPResidentRegistrationNumber** \
|
|
973
|
-
* **JPSocialInsuranceNumber** \
|
|
974
|
-
* **JPMyNumberCorporate** \
|
|
975
|
-
* **JPMyNumberPersonal** \
|
|
976
|
-
* **JPResidenceCardNumber** \
|
|
977
|
-
* **LVPersonalCode** \
|
|
978
|
-
* **LTPersonalCode** \
|
|
979
|
-
* **LUNationalIdentificationNumberNatural** \
|
|
980
|
-
* **LUNationalIdentificationNumberNonNatural** \
|
|
981
|
-
* **MYIdentityCardNumber** \
|
|
982
|
-
* **MTIdentityCardNumber** \
|
|
983
|
-
* **MTTaxIDNumber** \
|
|
984
|
-
* **NLCitizensServiceNumber** \
|
|
985
|
-
* **NLCitizensServiceNumberV2** \
|
|
986
|
-
* **NLTaxIdentificationNumber** \
|
|
987
|
-
* **NLValueAddedTaxNumber** \
|
|
988
|
-
* **NZBankAccountNumber** \
|
|
989
|
-
* **NZDriversLicenseNumber** \
|
|
990
|
-
* **NZInlandRevenueNumber** \
|
|
991
|
-
* **NZMinistryOfHealthNumber** \
|
|
992
|
-
* **NZSocialWelfareNumber** \
|
|
993
|
-
* **NOIdentityNumber** \
|
|
994
|
-
* **PHUnifiedMultiPurposeIDNumber** \
|
|
995
|
-
* **PLIdentityCard** \
|
|
996
|
-
* **PLNationalID** \
|
|
997
|
-
* **PLNationalIDV2** \
|
|
998
|
-
* **PLPassportNumber** \
|
|
999
|
-
* **PLTaxIdentificationNumber** \
|
|
1000
|
-
* **PLREGONNumber** \
|
|
1001
|
-
* **PTCitizenCardNumber** \
|
|
1002
|
-
* **PTCitizenCardNumberV2** \
|
|
1003
|
-
* **PTTaxIdentificationNumber** \
|
|
1004
|
-
* **ROPersonalNumericalCode** \
|
|
1005
|
-
* **RUPassportNumberDomestic** \
|
|
1006
|
-
* **RUPassportNumberInternational** \
|
|
1007
|
-
* **SANationalID** \
|
|
1008
|
-
* **SGNationalRegistrationIdentityCardNumber** \
|
|
1009
|
-
* **SKPersonalNumber** \
|
|
1010
|
-
* **SITaxIdentificationNumber** \
|
|
1011
|
-
* **SIUniqueMasterCitizenNumber** \
|
|
1012
|
-
* **ZAIdentificationNumber** \
|
|
1013
|
-
* **KRResidentRegistrationNumber** \
|
|
1014
|
-
* **ESDNI** \
|
|
1015
|
-
* **ESSocialSecurityNumber** \
|
|
1016
|
-
* **ESTaxIdentificationNumber** \
|
|
1017
|
-
* **SQLServerConnectionString** \
|
|
1018
|
-
* **SENationalID** \
|
|
1019
|
-
* **SENationalIDV2** \
|
|
1020
|
-
* **SEPassportNumber** \
|
|
1021
|
-
* **SETaxIdentificationNumber** \
|
|
1022
|
-
* **SWIFTCode** \
|
|
1023
|
-
* **CHSocialSecurityNumber** \
|
|
1024
|
-
* **TWNationalID** \
|
|
1025
|
-
* **TWPassportNumber** \
|
|
1026
|
-
* **TWResidentCertificate** \
|
|
1027
|
-
* **THPopulationIdentificationCode** \
|
|
1028
|
-
* **TRNationalIdentificationNumber** \
|
|
1029
|
-
* **UKDriversLicenseNumber** \
|
|
1030
|
-
* **UKElectoralRollNumber** \
|
|
1031
|
-
* **UKNationalHealthNumber** \
|
|
1032
|
-
* **UKNationalInsuranceNumber** \
|
|
1033
|
-
* **UKUniqueTaxpayerNumber** \
|
|
1034
|
-
* **USUKPassportNumber** \
|
|
1035
|
-
* **USBankAccountNumber** \
|
|
1036
|
-
* **USDriversLicenseNumber** \
|
|
1037
|
-
* **USIndividualTaxpayerIdentification** \
|
|
1038
|
-
* **USSocialSecurityNumber** \
|
|
1039
|
-
* **UAPassportNumberDomestic** \
|
|
1040
|
-
* **UAPassportNumberInternational** \
|
|
1041
|
-
* **Organization** \
|
|
1042
|
-
* **Email** \
|
|
1043
|
-
* **URL** \
|
|
1044
|
-
* **Age** \
|
|
1045
|
-
* **PhoneNumber** \
|
|
1046
|
-
* **IPAddress** \
|
|
1047
|
-
* **Date** \
|
|
1048
|
-
* **Person** \
|
|
1049
|
-
* **Address** \
|
|
1050
|
-
* **All** \
|
|
1051
|
-
* **Default**
|
|
1052
|
-
*/
|
|
1053
|
-
export declare type PiiEntityCategory = string;
|
|
1054
|
-
|
|
1055
|
-
/**
|
|
1056
|
-
* The types of PII domains the user can choose from.
|
|
1057
|
-
*/
|
|
1058
|
-
export declare enum PiiEntityDomain {
|
|
1059
|
-
/**
|
|
1060
|
-
* @see {@link https://aka.ms/tanerpii} for more information.
|
|
1061
|
-
*/
|
|
1062
|
-
PROTECTED_HEALTH_INFORMATION = "PHI"
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
/**
|
|
1066
|
-
* Abstract representation of a poller, intended to expose just the minimal API that the user needs to work with.
|
|
1067
|
-
*/
|
|
1068
|
-
export declare interface PollerLikeWithCancellation<TState extends PollOperationState<TResult>, TResult> {
|
|
1069
|
-
/**
|
|
1070
|
-
* Returns a promise that will resolve once a single polling request finishes.
|
|
1071
|
-
* It does this by calling the update method of the Poller's operation.
|
|
1072
|
-
*/
|
|
1073
|
-
poll(options?: {
|
|
1074
|
-
abortSignal?: AbortSignalLike;
|
|
1075
|
-
}): Promise<void>;
|
|
1076
|
-
/**
|
|
1077
|
-
* Returns a promise that will resolve once the underlying operation is completed.
|
|
1078
|
-
*/
|
|
1079
|
-
pollUntilDone(): Promise<TResult>;
|
|
1080
|
-
/**
|
|
1081
|
-
* Invokes the provided callback after each polling is completed,
|
|
1082
|
-
* sending the current state of the poller's operation.
|
|
1083
|
-
*
|
|
1084
|
-
* It returns a method that can be used to stop receiving updates on the given callback function.
|
|
1085
|
-
*/
|
|
1086
|
-
onProgress(callback: (state: TState) => void): CancelOnProgress;
|
|
1087
|
-
/**
|
|
1088
|
-
* Returns true if the poller has finished polling.
|
|
1089
|
-
*/
|
|
1090
|
-
isDone(): boolean;
|
|
1091
|
-
/**
|
|
1092
|
-
* Stops the poller. After this, no manual or automated requests can be sent.
|
|
1093
|
-
*/
|
|
1094
|
-
stopPolling(): void;
|
|
1095
|
-
/**
|
|
1096
|
-
* Returns true if the poller is stopped.
|
|
1097
|
-
*/
|
|
1098
|
-
isStopped(): boolean;
|
|
1099
|
-
/**
|
|
1100
|
-
* Attempts to cancel the underlying operation.
|
|
1101
|
-
*/
|
|
1102
|
-
cancelOperation(options?: {
|
|
1103
|
-
abortSignal?: AbortSignalLike;
|
|
1104
|
-
}): Promise<void>;
|
|
1105
|
-
/**
|
|
1106
|
-
* Returns the state of the operation.
|
|
1107
|
-
* The TState defined in PollerLike can be a subset of the TState defined in
|
|
1108
|
-
* the Poller implementation.
|
|
1109
|
-
*/
|
|
1110
|
-
getOperationState(): TState;
|
|
1111
|
-
/**
|
|
1112
|
-
* Returns the result value of the operation,
|
|
1113
|
-
* regardless of the state of the poller.
|
|
1114
|
-
* It can return undefined or an incomplete form of the final TResult value
|
|
1115
|
-
* depending on the implementation.
|
|
1116
|
-
*/
|
|
1117
|
-
getResult(): TResult | undefined;
|
|
1118
|
-
/**
|
|
1119
|
-
* Returns a serialized version of the poller's operation
|
|
1120
|
-
* by invoking the operation's toString method.
|
|
1121
|
-
*/
|
|
1122
|
-
toString(): string;
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* Options for an entities recognition action.
|
|
1127
|
-
*/
|
|
1128
|
-
export declare interface RecognizeCategorizedEntitiesAction extends TextAnalyticsAction {
|
|
1129
|
-
/**
|
|
1130
|
-
* Specifies the measurement unit used to calculate the offset and length properties.
|
|
1131
|
-
* Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit".
|
|
1132
|
-
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
|
1133
|
-
*/
|
|
1134
|
-
stringIndexType?: StringIndexType;
|
|
1135
|
-
/**
|
|
1136
|
-
* If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics
|
|
1137
|
-
* logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true,
|
|
1138
|
-
* disables input logging and may limit our ability to remediate issues that occur.
|
|
1139
|
-
*/
|
|
1140
|
-
disableServiceLogs?: boolean;
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
|
-
/**
|
|
1144
|
-
* The error of a recognize categorized entities action.
|
|
1145
|
-
*/
|
|
1146
|
-
export declare type RecognizeCategorizedEntitiesActionErrorResult = TextAnalyticsActionErrorResult;
|
|
1147
|
-
|
|
1148
|
-
/**
|
|
1149
|
-
* The result of a recognize categorized entities action.
|
|
1150
|
-
*/
|
|
1151
|
-
export declare type RecognizeCategorizedEntitiesActionResult = RecognizeCategorizedEntitiesActionSuccessResult | RecognizeCategorizedEntitiesActionErrorResult;
|
|
1152
|
-
|
|
1153
|
-
/**
|
|
1154
|
-
* The results of a succeeded recognize categorized entities action.
|
|
1155
|
-
*/
|
|
1156
|
-
export declare interface RecognizeCategorizedEntitiesActionSuccessResult extends TextAnalyticsActionSuccessState {
|
|
1157
|
-
/**
|
|
1158
|
-
* Array of the results for each categorized entities recognition action.
|
|
1159
|
-
*/
|
|
1160
|
-
results: RecognizeCategorizedEntitiesResultArray;
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
/**
|
|
1164
|
-
* An error result from the recognize entities operation on a single document.
|
|
1165
|
-
*/
|
|
1166
|
-
export declare type RecognizeCategorizedEntitiesErrorResult = TextAnalyticsErrorResult;
|
|
1167
|
-
|
|
1168
|
-
/**
|
|
1169
|
-
* Options for the recognize entities operation.
|
|
1170
|
-
*/
|
|
1171
|
-
export declare interface RecognizeCategorizedEntitiesOptions extends TextAnalyticsOperationOptions {
|
|
1172
|
-
/**
|
|
1173
|
-
* Specifies the measurement unit used to calculate the offset and length properties.
|
|
1174
|
-
* Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit".
|
|
1175
|
-
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
|
1176
|
-
*/
|
|
1177
|
-
stringIndexType?: StringIndexType;
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
/**
|
|
1181
|
-
* The result of the recognize entities operation on a single document.
|
|
1182
|
-
*/
|
|
1183
|
-
export declare type RecognizeCategorizedEntitiesResult = RecognizeCategorizedEntitiesSuccessResult | RecognizeCategorizedEntitiesErrorResult;
|
|
1184
|
-
|
|
1185
|
-
/**
|
|
1186
|
-
* Array of `RecognizeCategorizedEntitiesResult` objects corresponding to a batch of input documents, and
|
|
1187
|
-
* annotated with information about the batch operation.
|
|
1188
|
-
*/
|
|
1189
|
-
export declare interface RecognizeCategorizedEntitiesResultArray extends Array<RecognizeCategorizedEntitiesResult> {
|
|
1190
|
-
/**
|
|
1191
|
-
* Statistics about the input document batch and how it was processed
|
|
1192
|
-
* by the service. This property will have a value when includeStatistics is set to true
|
|
1193
|
-
* in the client call.
|
|
1194
|
-
*/
|
|
1195
|
-
statistics?: TextDocumentBatchStatistics;
|
|
1196
|
-
/**
|
|
1197
|
-
* The version of the text analytics model used by this operation on this
|
|
1198
|
-
* batch of input documents.
|
|
1199
|
-
*/
|
|
1200
|
-
modelVersion: string;
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
/**
|
|
1204
|
-
* The result of the recognize entities operation on a single document, containing the collection of
|
|
1205
|
-
* `Entity` objects identified in that document.
|
|
1206
|
-
*/
|
|
1207
|
-
export declare interface RecognizeCategorizedEntitiesSuccessResult extends TextAnalyticsSuccessResult {
|
|
1208
|
-
/**
|
|
1209
|
-
* The collection of entities identified in the input document.
|
|
1210
|
-
*/
|
|
1211
|
-
readonly entities: CategorizedEntity[];
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
/**
|
|
1215
|
-
* Options for an entities linking action.
|
|
1216
|
-
*/
|
|
1217
|
-
export declare interface RecognizeLinkedEntitiesAction extends TextAnalyticsAction {
|
|
1218
|
-
/**
|
|
1219
|
-
* Specifies the measurement unit used to calculate the offset and length properties.
|
|
1220
|
-
* Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit".
|
|
1221
|
-
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
|
1222
|
-
*/
|
|
1223
|
-
stringIndexType?: StringIndexType;
|
|
1224
|
-
/**
|
|
1225
|
-
* If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics
|
|
1226
|
-
* logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true,
|
|
1227
|
-
* disables input logging and may limit our ability to remediate issues that occur.
|
|
1228
|
-
*/
|
|
1229
|
-
disableServiceLogs?: boolean;
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
/**
|
|
1233
|
-
* The error of a recognize linked entities action.
|
|
1234
|
-
*/
|
|
1235
|
-
export declare type RecognizeLinkedEntitiesActionErrorResult = TextAnalyticsActionErrorResult;
|
|
1236
|
-
|
|
1237
|
-
/**
|
|
1238
|
-
* The result of a recognize linked entities action.
|
|
1239
|
-
*/
|
|
1240
|
-
export declare type RecognizeLinkedEntitiesActionResult = RecognizeLinkedEntitiesActionSuccessResult | RecognizeLinkedEntitiesActionErrorResult;
|
|
1241
|
-
|
|
1242
|
-
/**
|
|
1243
|
-
* The results of a succeeded recognize linked entities action.
|
|
1244
|
-
*/
|
|
1245
|
-
export declare interface RecognizeLinkedEntitiesActionSuccessResult extends TextAnalyticsActionSuccessState {
|
|
1246
|
-
/**
|
|
1247
|
-
* Array of the results for each linked entities recognition action.
|
|
1248
|
-
*/
|
|
1249
|
-
results: RecognizeLinkedEntitiesResultArray;
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
/**
|
|
1253
|
-
* An error result from the recognize linked entities operation on a single document.
|
|
1254
|
-
*/
|
|
1255
|
-
export declare type RecognizeLinkedEntitiesErrorResult = TextAnalyticsErrorResult;
|
|
1256
|
-
|
|
1257
|
-
/**
|
|
1258
|
-
* Options for the recognize linked entities operation.
|
|
1259
|
-
*/
|
|
1260
|
-
export declare interface RecognizeLinkedEntitiesOptions extends TextAnalyticsOperationOptions {
|
|
1261
|
-
/**
|
|
1262
|
-
* Specifies the measurement unit used to calculate the offset and length properties.
|
|
1263
|
-
* Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit".
|
|
1264
|
-
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
|
1265
|
-
*/
|
|
1266
|
-
stringIndexType?: StringIndexType;
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
/**
|
|
1270
|
-
* The result of the recognize linked entities operation on a single document.
|
|
1271
|
-
*/
|
|
1272
|
-
export declare type RecognizeLinkedEntitiesResult = RecognizeLinkedEntitiesSuccessResult | RecognizeLinkedEntitiesErrorResult;
|
|
1273
|
-
|
|
1274
|
-
/**
|
|
1275
|
-
* Array of `RecognizeLinkedEntitiesResult` objects corresponding to a batch of input documents, and
|
|
1276
|
-
* annotated with information about the batch operation.
|
|
1277
|
-
*/
|
|
1278
|
-
export declare interface RecognizeLinkedEntitiesResultArray extends Array<RecognizeLinkedEntitiesResult> {
|
|
1279
|
-
/**
|
|
1280
|
-
* Statistics about the input document batch and how it was processed
|
|
1281
|
-
* by the service. This property will have a value when includeStatistics is set to true
|
|
1282
|
-
* in the client call.
|
|
1283
|
-
*/
|
|
1284
|
-
statistics?: TextDocumentBatchStatistics;
|
|
1285
|
-
/**
|
|
1286
|
-
* The version of the text analytics model used by this operation on this
|
|
1287
|
-
* batch of input documents.
|
|
1288
|
-
*/
|
|
1289
|
-
modelVersion: string;
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
/**
|
|
1293
|
-
* The result of the recognize linked entities operation on a single document,
|
|
1294
|
-
* containing a collection of the `LinkedEntity` objects identified in that document.
|
|
1295
|
-
*/
|
|
1296
|
-
export declare interface RecognizeLinkedEntitiesSuccessResult extends TextAnalyticsSuccessResult {
|
|
1297
|
-
/**
|
|
1298
|
-
* The collection of entities identified in the input document.
|
|
1299
|
-
*/
|
|
1300
|
-
readonly entities: LinkedEntity[];
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
/**
|
|
1304
|
-
* Options for a Pii entities recognition action.
|
|
1305
|
-
*/
|
|
1306
|
-
export declare interface RecognizePiiEntitiesAction extends TextAnalyticsAction {
|
|
1307
|
-
/**
|
|
1308
|
-
* Filters entities to ones only included in the specified domain (e.g., if
|
|
1309
|
-
* set to 'PHI', entities in the Protected Healthcare Information domain will
|
|
1310
|
-
* only be returned). @see {@link https://aka.ms/tanerpii} for more information.
|
|
1311
|
-
*/
|
|
1312
|
-
domainFilter?: PiiEntityDomain;
|
|
1313
|
-
/**
|
|
1314
|
-
* Filters entities to ones only included in the specified array of categories
|
|
1315
|
-
*/
|
|
1316
|
-
categoriesFilter?: PiiEntityCategory[];
|
|
1317
|
-
/**
|
|
1318
|
-
* Specifies the measurement unit used to calculate the offset and length properties.
|
|
1319
|
-
* Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit".
|
|
1320
|
-
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
|
1321
|
-
*/
|
|
1322
|
-
stringIndexType?: StringIndexType;
|
|
1323
|
-
/**
|
|
1324
|
-
* If set to false, you opt-in to have your text input logged for troubleshooting. By default, Text Analytics
|
|
1325
|
-
* will not log your input text for pii entities recognition. Setting this parameter to false,
|
|
1326
|
-
* enables input logging.
|
|
1327
|
-
*/
|
|
1328
|
-
disableServiceLogs?: boolean;
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
/**
|
|
1332
|
-
* The error of a recognize pii entities action.
|
|
1333
|
-
*/
|
|
1334
|
-
export declare type RecognizePiiEntitiesActionErrorResult = TextAnalyticsActionErrorResult;
|
|
1335
|
-
|
|
1336
|
-
/**
|
|
1337
|
-
* The result of a recognize pii entities action.
|
|
1338
|
-
*/
|
|
1339
|
-
export declare type RecognizePiiEntitiesActionResult = RecognizePiiEntitiesActionSuccessResult | RecognizePiiEntitiesActionErrorResult;
|
|
1340
|
-
|
|
1341
|
-
/**
|
|
1342
|
-
* The results of a succeeded recognize pii entities action.
|
|
1343
|
-
*/
|
|
1344
|
-
export declare interface RecognizePiiEntitiesActionSuccessResult extends TextAnalyticsActionSuccessState {
|
|
1345
|
-
/**
|
|
1346
|
-
* Array of the results for each pii entities recognition action.
|
|
1347
|
-
*/
|
|
1348
|
-
results: RecognizePiiEntitiesResultArray;
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
|
-
/**
|
|
1352
|
-
* An error result from the recognize entities operation on a single document.
|
|
1353
|
-
*/
|
|
1354
|
-
export declare type RecognizePiiEntitiesErrorResult = TextAnalyticsErrorResult;
|
|
1355
|
-
|
|
1356
|
-
/**
|
|
1357
|
-
* Options for the recognize PII entities operation.
|
|
1358
|
-
*/
|
|
1359
|
-
export declare interface RecognizePiiEntitiesOptions extends TextAnalyticsOperationOptions {
|
|
1360
|
-
/**
|
|
1361
|
-
* Filters entities to ones only included in the specified domain (e.g., if
|
|
1362
|
-
* set to 'PHI', entities in the Protected Healthcare Information domain will
|
|
1363
|
-
* only be returned). @see {@link https://aka.ms/tanerpii} for more information.
|
|
1364
|
-
*/
|
|
1365
|
-
domainFilter?: PiiEntityDomain;
|
|
1366
|
-
/**
|
|
1367
|
-
* Specifies the measurement unit used to calculate the offset and length properties.
|
|
1368
|
-
* Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit".
|
|
1369
|
-
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
|
1370
|
-
*/
|
|
1371
|
-
stringIndexType?: StringIndexType;
|
|
1372
|
-
/**
|
|
1373
|
-
* Filters entities to ones only included in the specified array of categories
|
|
1374
|
-
*/
|
|
1375
|
-
categoriesFilter?: PiiEntityCategory[];
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
/**
|
|
1379
|
-
* The result of the recognize entities operation on a single document.
|
|
1380
|
-
*/
|
|
1381
|
-
export declare type RecognizePiiEntitiesResult = RecognizePiiEntitiesSuccessResult | RecognizePiiEntitiesErrorResult;
|
|
1382
|
-
|
|
1383
|
-
/**
|
|
1384
|
-
* Collection of `RecognizePiiEntitiesResult` objects corresponding to a batch of input documents, and
|
|
1385
|
-
* annotated with information about the batch operation.
|
|
1386
|
-
*/
|
|
1387
|
-
export declare interface RecognizePiiEntitiesResultArray extends Array<RecognizePiiEntitiesResult> {
|
|
1388
|
-
/**
|
|
1389
|
-
* Statistics about the input document batch and how it was processed
|
|
1390
|
-
* by the service. This property will have a value when includeStatistics is set to true
|
|
1391
|
-
* in the client call.
|
|
1392
|
-
*/
|
|
1393
|
-
statistics?: TextDocumentBatchStatistics;
|
|
1394
|
-
/**
|
|
1395
|
-
* The version of the text analytics model used by this operation on this
|
|
1396
|
-
* batch of input documents.
|
|
1397
|
-
*/
|
|
1398
|
-
modelVersion: string;
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
/**
|
|
1402
|
-
* The result of the recognize entities operation on a single document, containing the collection of
|
|
1403
|
-
* `Entity` objects identified in that document.
|
|
1404
|
-
*/
|
|
1405
|
-
export declare interface RecognizePiiEntitiesSuccessResult extends TextAnalyticsSuccessResult {
|
|
1406
|
-
/**
|
|
1407
|
-
* The collection of entities identified in the input document.
|
|
1408
|
-
*/
|
|
1409
|
-
readonly entities: PiiEntity[];
|
|
1410
|
-
/**
|
|
1411
|
-
* The text redacted.
|
|
1412
|
-
*/
|
|
1413
|
-
redactedText: string;
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
export declare interface SentenceAssessment {
|
|
1417
|
-
/** Assessment sentiment in the sentence. */
|
|
1418
|
-
sentiment: TokenSentimentValue;
|
|
1419
|
-
/** Assessment sentiment confidence scores in the sentence. */
|
|
1420
|
-
confidenceScores: TargetConfidenceScoreLabel;
|
|
1421
|
-
/** The assessment offset from the start of the sentence. */
|
|
1422
|
-
offset: number;
|
|
1423
|
-
/** The length of the assessment. */
|
|
1424
|
-
length: number;
|
|
1425
|
-
/** The assessment text detected. */
|
|
1426
|
-
text: string;
|
|
1427
|
-
/** The indicator representing if the assessment is negated. */
|
|
1428
|
-
isNegated: boolean;
|
|
1429
|
-
}
|
|
1430
|
-
|
|
1431
|
-
/**
|
|
1432
|
-
* The predicted sentiment for a given span of text. For more information regarding text sentiment, see https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis.
|
|
1433
|
-
*/
|
|
1434
|
-
export declare interface SentenceSentiment {
|
|
1435
|
-
/**
|
|
1436
|
-
* The sentence text.
|
|
1437
|
-
*/
|
|
1438
|
-
text: string;
|
|
1439
|
-
/**
|
|
1440
|
-
* The predicted Sentiment for the sentence.
|
|
1441
|
-
*/
|
|
1442
|
-
sentiment: SentenceSentimentLabel;
|
|
1443
|
-
/**
|
|
1444
|
-
* The sentiment confidence score between 0 and 1 for the sentence for all classes.
|
|
1445
|
-
*/
|
|
1446
|
-
confidenceScores: SentimentConfidenceScores;
|
|
1447
|
-
/**
|
|
1448
|
-
* The sentence text offset from the start of the document.
|
|
1449
|
-
*/
|
|
1450
|
-
offset: number;
|
|
1451
|
-
/**
|
|
1452
|
-
* The length of the sentence text.
|
|
1453
|
-
*/
|
|
1454
|
-
length: number;
|
|
1455
|
-
/**
|
|
1456
|
-
* The list of opinions mined from this sentence. For example in "The food is
|
|
1457
|
-
* good, but the service is bad", we would mine these two opinions "food is
|
|
1458
|
-
* good", "service is bad". Only returned if `includeOpinionMining` is set to
|
|
1459
|
-
* True in the call to `analyzeSentiment`.
|
|
1460
|
-
*/
|
|
1461
|
-
opinions: Opinion[];
|
|
1462
|
-
}
|
|
1463
|
-
|
|
1464
|
-
/** Defines values for SentenceSentimentLabel. */
|
|
1465
|
-
export declare type SentenceSentimentLabel = "positive" | "neutral" | "negative";
|
|
1466
|
-
|
|
1467
|
-
/** Represents the confidence scores between 0 and 1 across all sentiment classes: positive, neutral, negative. */
|
|
1468
|
-
export declare interface SentimentConfidenceScores {
|
|
1469
|
-
positive: number;
|
|
1470
|
-
neutral: number;
|
|
1471
|
-
negative: number;
|
|
1472
|
-
}
|
|
1473
|
-
|
|
1474
|
-
/**
|
|
1475
|
-
* Measurement units that can used to calculate the offset and length properties.
|
|
1476
|
-
*/
|
|
1477
|
-
export declare type StringIndexType = "TextElement_v8" | "UnicodeCodePoint" | "Utf16CodeUnit";
|
|
1478
|
-
|
|
1479
|
-
/** Represents the confidence scores across all sentiment classes: positive, neutral, negative. */
|
|
1480
|
-
export declare interface TargetConfidenceScoreLabel {
|
|
1481
|
-
positive: number;
|
|
1482
|
-
negative: number;
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
/**
|
|
1486
|
-
* TargetSentiment contains the predicted sentiment, confidence scores and other
|
|
1487
|
-
* information about an target of a product. A target of a product/service is a
|
|
1488
|
-
* key component of that product/service. For example in "The food at Hotel Foo
|
|
1489
|
-
* is good", "food" is a target of "Hotel Foo".
|
|
1490
|
-
*/
|
|
1491
|
-
export declare interface TargetSentiment {
|
|
1492
|
-
/**
|
|
1493
|
-
* The sentiment confidence score between 0 and 1 for the target for
|
|
1494
|
-
* 'positive' and 'negative' labels.
|
|
1495
|
-
*/
|
|
1496
|
-
confidenceScores: TargetConfidenceScoreLabel;
|
|
1497
|
-
/**
|
|
1498
|
-
* The predicted Sentiment for the Target. Possible values include 'positive',
|
|
1499
|
-
* 'mixed', and 'negative'.
|
|
1500
|
-
*/
|
|
1501
|
-
sentiment: TokenSentimentValue;
|
|
1502
|
-
/**
|
|
1503
|
-
* The target text.
|
|
1504
|
-
*/
|
|
1505
|
-
text: string;
|
|
1506
|
-
/**
|
|
1507
|
-
* The Target text offset from the start of the sentence.
|
|
1508
|
-
*/
|
|
1509
|
-
offset: number;
|
|
1510
|
-
/**
|
|
1511
|
-
* The length of the Target text.
|
|
1512
|
-
*/
|
|
1513
|
-
length: number;
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
/**
|
|
1517
|
-
* The type of a text analytics action.
|
|
1518
|
-
*/
|
|
1519
|
-
export declare interface TextAnalyticsAction {
|
|
1520
|
-
/**
|
|
1521
|
-
* The version of the text analytics model used by this operation on this
|
|
1522
|
-
* batch of input documents.
|
|
1523
|
-
*/
|
|
1524
|
-
modelVersion?: string;
|
|
1525
|
-
/**
|
|
1526
|
-
* The preferred name for this action.
|
|
1527
|
-
*/
|
|
1528
|
-
actionName?: string;
|
|
1529
|
-
}
|
|
1530
|
-
|
|
1531
|
-
/**
|
|
1532
|
-
* The error of an analyze batch action.
|
|
1533
|
-
*/
|
|
1534
|
-
export declare interface TextAnalyticsActionErrorResult {
|
|
1535
|
-
/**
|
|
1536
|
-
* When this action was completed by the service.
|
|
1537
|
-
*/
|
|
1538
|
-
readonly failedOn: Date;
|
|
1539
|
-
/**
|
|
1540
|
-
* The Error for this action result.
|
|
1541
|
-
*/
|
|
1542
|
-
readonly error: TextAnalyticsError;
|
|
1543
|
-
}
|
|
1544
|
-
|
|
1545
|
-
/**
|
|
1546
|
-
* Description of collection of actions for the analyze API to perform on input documents. However, currently, the service can accept up to one action only per action type.
|
|
1547
|
-
*/
|
|
1548
|
-
export declare interface TextAnalyticsActions {
|
|
1549
|
-
/**
|
|
1550
|
-
* A collection of descriptions of entities recognition actions. However, currently, the service can accept up to one action only for `recognizeEntities`.
|
|
1551
|
-
*/
|
|
1552
|
-
recognizeEntitiesActions?: RecognizeCategorizedEntitiesAction[];
|
|
1553
|
-
/**
|
|
1554
|
-
* A collection of descriptions of Pii entities recognition actions. However, currently, the service can accept up to one action only for `recognizePiiEntities`.
|
|
1555
|
-
*/
|
|
1556
|
-
recognizePiiEntitiesActions?: RecognizePiiEntitiesAction[];
|
|
1557
|
-
/**
|
|
1558
|
-
* A collection of descriptions of key phrases recognition actions. However, currently, the service can accept up to one action only for `extractKeyPhrases`.
|
|
1559
|
-
*/
|
|
1560
|
-
extractKeyPhrasesActions?: ExtractKeyPhrasesAction[];
|
|
1561
|
-
/**
|
|
1562
|
-
* A collection of descriptions of entities linking actions. However, currently, the service can accept up to one action only for `recognizeLinkedEntities`.
|
|
1563
|
-
*/
|
|
1564
|
-
recognizeLinkedEntitiesActions?: RecognizeLinkedEntitiesAction[];
|
|
1565
|
-
/**
|
|
1566
|
-
* A collection of descriptions of sentiment analysis actions. However, currently, the service can accept up to one action only for `analyzeSentiment`.
|
|
1567
|
-
*/
|
|
1568
|
-
analyzeSentimentActions?: AnalyzeSentimentAction[];
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* The state of a succeeded action.
|
|
1573
|
-
*/
|
|
1574
|
-
export declare interface TextAnalyticsActionSuccessState {
|
|
1575
|
-
/**
|
|
1576
|
-
* When this action was completed by the service.
|
|
1577
|
-
*/
|
|
1578
|
-
readonly completedOn: Date;
|
|
1579
|
-
/**
|
|
1580
|
-
* Discriminant to determine if that this is an error result.
|
|
1581
|
-
*/
|
|
1582
|
-
readonly error?: undefined;
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
/**
|
|
1586
|
-
* Client class for interacting with Azure Text Analytics.
|
|
1587
|
-
*/
|
|
1588
|
-
export declare class TextAnalyticsClient {
|
|
1589
|
-
/**
|
|
1590
|
-
* The URL to the TextAnalytics endpoint
|
|
1591
|
-
*/
|
|
1592
|
-
readonly endpointUrl: string;
|
|
1593
|
-
/**
|
|
1594
|
-
* The default country hint to use. Defaults to "us".
|
|
1595
|
-
*/
|
|
1596
|
-
defaultCountryHint: string;
|
|
1597
|
-
/**
|
|
1598
|
-
* The default language to use. Defaults to "en".
|
|
1599
|
-
*/
|
|
1600
|
-
defaultLanguage: string;
|
|
1601
|
-
/* Excluded from this release type: client */
|
|
1602
|
-
private readonly _tracing;
|
|
1603
|
-
/**
|
|
1604
|
-
* Creates an instance of TextAnalyticsClient.
|
|
1605
|
-
*
|
|
1606
|
-
* Example usage:
|
|
1607
|
-
* ```ts
|
|
1608
|
-
* import { TextAnalyticsClient, AzureKeyCredential } from "@azure/ai-text-analytics";
|
|
1609
|
-
*
|
|
1610
|
-
* const client = new TextAnalyticsClient(
|
|
1611
|
-
* "<service endpoint>",
|
|
1612
|
-
* new AzureKeyCredential("<api key>")
|
|
1613
|
-
* );
|
|
1614
|
-
* ```
|
|
1615
|
-
* @param endpointUrl - The URL to the TextAnalytics endpoint
|
|
1616
|
-
* @param credential - Used to authenticate requests to the service.
|
|
1617
|
-
* @param options - Used to configure the TextAnalytics client.
|
|
1618
|
-
*/
|
|
1619
|
-
constructor(endpointUrl: string, credential: TokenCredential | KeyCredential, options?: TextAnalyticsClientOptions);
|
|
1620
|
-
/**
|
|
1621
|
-
* Runs a predictive model to determine the language that the passed-in
|
|
1622
|
-
* input strings are written in, and returns, for each one, the detected
|
|
1623
|
-
* language as well as a score indicating the model's confidence that the
|
|
1624
|
-
* inferred language is correct. Scores close to 1 indicate high certainty in
|
|
1625
|
-
* the result. 120 languages are supported.
|
|
1626
|
-
* @param documents - A collection of input strings to analyze.
|
|
1627
|
-
* @param countryHint - Indicates the country of origin for all of
|
|
1628
|
-
* the input strings to assist the text analytics model in predicting
|
|
1629
|
-
* the language they are written in. If unspecified, this value will be
|
|
1630
|
-
* set to the default country hint in `TextAnalyticsClientOptions`.
|
|
1631
|
-
* If set to an empty string, or the string "none", the service will apply a
|
|
1632
|
-
* model where the country is explicitly unset.
|
|
1633
|
-
* The same country hint is applied to all strings in the input collection.
|
|
1634
|
-
* @param options - Optional parameters for the operation.
|
|
1635
|
-
*/
|
|
1636
|
-
detectLanguage(documents: string[], countryHint?: string, options?: DetectLanguageOptions): Promise<DetectLanguageResultArray>;
|
|
1637
|
-
/**
|
|
1638
|
-
* Runs a predictive model to determine the language that the passed-in
|
|
1639
|
-
* input document are written in, and returns, for each one, the detected
|
|
1640
|
-
* language as well as a score indicating the model's confidence that the
|
|
1641
|
-
* inferred language is correct. Scores close to 1 indicate high certainty in
|
|
1642
|
-
* the result. 120 languages are supported.
|
|
1643
|
-
* @param documents - A collection of input documents to analyze.
|
|
1644
|
-
* @param options - Optional parameters for the operation.
|
|
1645
|
-
*/
|
|
1646
|
-
detectLanguage(documents: DetectLanguageInput[], options?: DetectLanguageOptions): Promise<DetectLanguageResultArray>;
|
|
1647
|
-
/**
|
|
1648
|
-
* Runs a predictive model to identify a collection of named entities
|
|
1649
|
-
* in the passed-in input strings, and categorize those entities into types
|
|
1650
|
-
* such as person, location, or organization. For more information on
|
|
1651
|
-
* available categories, @see
|
|
1652
|
-
* {@link https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types}.
|
|
1653
|
-
* For a list of languages supported by this operation, @see
|
|
1654
|
-
* {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.
|
|
1655
|
-
* @param documents - The input strings to analyze.
|
|
1656
|
-
* @param language - The language that all the input strings are
|
|
1657
|
-
written in. If unspecified, this value will be set to the default
|
|
1658
|
-
language in `TextAnalyticsClientOptions`.
|
|
1659
|
-
If set to an empty string, the service will apply a model
|
|
1660
|
-
where the language is explicitly set to "None".
|
|
1661
|
-
* @param options - Optional parameters for the operation.
|
|
1662
|
-
*/
|
|
1663
|
-
recognizeEntities(documents: string[], language?: string, options?: RecognizeCategorizedEntitiesOptions): Promise<RecognizeCategorizedEntitiesResultArray>;
|
|
1664
|
-
/**
|
|
1665
|
-
* Runs a predictive model to identify a collection of named entities
|
|
1666
|
-
* in the passed-in input documents, and categorize those entities into types
|
|
1667
|
-
* such as person, location, or organization. For more information on
|
|
1668
|
-
* available categories, @see
|
|
1669
|
-
* {@link https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types}.
|
|
1670
|
-
* For a list of languages supported by this operation, @see
|
|
1671
|
-
* {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.
|
|
1672
|
-
* @param documents - The input documents to analyze.
|
|
1673
|
-
* @param options - Optional parameters for the operation.
|
|
1674
|
-
*/
|
|
1675
|
-
recognizeEntities(documents: TextDocumentInput[], options?: RecognizeCategorizedEntitiesOptions): Promise<RecognizeCategorizedEntitiesResultArray>;
|
|
1676
|
-
/**
|
|
1677
|
-
* Runs a predictive model to identify the positive, negative, neutral, or mixed
|
|
1678
|
-
* sentiment contained in the input strings, as well as scores indicating
|
|
1679
|
-
* the model's confidence in each of the predicted sentiments. Optionally it
|
|
1680
|
-
* can also identify targets in the text and assessments about it through
|
|
1681
|
-
* opinion mining. For a list of languages supported by this operation, @see
|
|
1682
|
-
* {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.
|
|
1683
|
-
* @param documents - The input strings to analyze.
|
|
1684
|
-
* @param language - The language that all the input strings are
|
|
1685
|
-
written in. If unspecified, this value will be set to the default
|
|
1686
|
-
language in `TextAnalyticsClientOptions`.
|
|
1687
|
-
If set to an empty string, the service will apply a model
|
|
1688
|
-
where the lanuage is explicitly set to "None".
|
|
1689
|
-
* @param options - Optional parameters that includes enabling opinion mining.
|
|
1690
|
-
*/
|
|
1691
|
-
analyzeSentiment(documents: string[], language?: string, options?: AnalyzeSentimentOptions): Promise<AnalyzeSentimentResultArray>;
|
|
1692
|
-
/**
|
|
1693
|
-
* Runs a predictive model to identify the positive, negative or neutral, or mixed
|
|
1694
|
-
* sentiment contained in the input documents, as well as scores indicating
|
|
1695
|
-
* the model's confidence in each of the predicted sentiments.Optionally it
|
|
1696
|
-
* can also identify targets in the text and assessments about it through
|
|
1697
|
-
* opinion mining. For a list of languages supported by this operation, @see
|
|
1698
|
-
* {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.
|
|
1699
|
-
* @param documents - The input documents to analyze.
|
|
1700
|
-
* @param options - Optional parameters that includes enabling opinion mining.
|
|
1701
|
-
*/
|
|
1702
|
-
analyzeSentiment(documents: TextDocumentInput[], options?: AnalyzeSentimentOptions): Promise<AnalyzeSentimentResultArray>;
|
|
1703
|
-
/**
|
|
1704
|
-
* Runs a model to identify a collection of significant phrases
|
|
1705
|
-
* found in the passed-in input strings.
|
|
1706
|
-
* For a list of languages supported by this operation, @see
|
|
1707
|
-
* {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.
|
|
1708
|
-
* @param documents - The input strings to analyze.
|
|
1709
|
-
* @param language - The language that all the input strings are
|
|
1710
|
-
written in. If unspecified, this value will be set to the default
|
|
1711
|
-
language in `TextAnalyticsClientOptions`.
|
|
1712
|
-
If set to an empty string, the service will apply a model
|
|
1713
|
-
where the language is explicitly set to "None".
|
|
1714
|
-
* @param options - Options for the operation.
|
|
1715
|
-
*/
|
|
1716
|
-
extractKeyPhrases(documents: string[], language?: string, options?: ExtractKeyPhrasesOptions): Promise<ExtractKeyPhrasesResultArray>;
|
|
1717
|
-
/**
|
|
1718
|
-
* Runs a model to identify a collection of significant phrases
|
|
1719
|
-
* found in the passed-in input documents.
|
|
1720
|
-
* For a list of languages supported by this operation, @see
|
|
1721
|
-
* {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.
|
|
1722
|
-
* @param documents - The input documents to analyze.
|
|
1723
|
-
* @param options - Options for the operation.
|
|
1724
|
-
*/
|
|
1725
|
-
extractKeyPhrases(documents: TextDocumentInput[], options?: ExtractKeyPhrasesOptions): Promise<ExtractKeyPhrasesResultArray>;
|
|
1726
|
-
/**
|
|
1727
|
-
* Runs a predictive model to identify a collection of entities containing
|
|
1728
|
-
* personally identifiable information found in the passed-in input strings,
|
|
1729
|
-
* and categorize those entities into types such as US social security
|
|
1730
|
-
* number, drivers license number, or credit card number.
|
|
1731
|
-
* For a list of languages supported by this operation, @see
|
|
1732
|
-
* {@link https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support}.
|
|
1733
|
-
* @param inputs - The input strings to analyze.
|
|
1734
|
-
* @param language - The language that all the input strings are
|
|
1735
|
-
written in. If unspecified, this value will be set to the default
|
|
1736
|
-
language in `TextAnalyticsClientOptions`.
|
|
1737
|
-
If set to an empty string, the service will apply a model
|
|
1738
|
-
where the language is explicitly set to "None".
|
|
1739
|
-
* @param options - Options for the operation.
|
|
1740
|
-
*/
|
|
1741
|
-
recognizePiiEntities(inputs: string[], language?: string, options?: RecognizePiiEntitiesOptions): Promise<RecognizePiiEntitiesResultArray>;
|
|
1742
|
-
/**
|
|
1743
|
-
* Runs a predictive model to identify a collection of entities containing
|
|
1744
|
-
* personally identifiable information found in the passed-in input documents,
|
|
1745
|
-
* and categorize those entities into types such as US social security
|
|
1746
|
-
* number, drivers license number, or credit card number.
|
|
1747
|
-
* For a list of languages supported by this operation, @see
|
|
1748
|
-
* {@link https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support}.
|
|
1749
|
-
* @param inputs - The input documents to analyze.
|
|
1750
|
-
* @param options - Optional parameters for the operation.
|
|
1751
|
-
*/
|
|
1752
|
-
recognizePiiEntities(inputs: TextDocumentInput[], options?: RecognizePiiEntitiesOptions): Promise<RecognizePiiEntitiesResultArray>;
|
|
1753
|
-
/**
|
|
1754
|
-
* Runs a predictive model to identify a collection of entities
|
|
1755
|
-
* found in the passed-in input strings, and include information linking the
|
|
1756
|
-
* entities to their corresponding entries in a well-known knowledge base.
|
|
1757
|
-
* For a list of languages supported by this operation, @see
|
|
1758
|
-
* {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.
|
|
1759
|
-
* @param documents - The input strings to analyze.
|
|
1760
|
-
* @param language - The language that all the input strings are
|
|
1761
|
-
written in. If unspecified, this value will be set to the default
|
|
1762
|
-
language in `TextAnalyticsClientOptions`.
|
|
1763
|
-
If set to an empty string, the service will apply a model
|
|
1764
|
-
where the language is explicitly set to "None".
|
|
1765
|
-
* @param options - Options for the operation.
|
|
1766
|
-
*/
|
|
1767
|
-
recognizeLinkedEntities(documents: string[], language?: string, options?: RecognizeLinkedEntitiesOptions): Promise<RecognizeLinkedEntitiesResultArray>;
|
|
1768
|
-
/**
|
|
1769
|
-
* Runs a predictive model to identify a collection of entities
|
|
1770
|
-
* found in the passed-in input documents, and include information linking the
|
|
1771
|
-
* entities to their corresponding entries in a well-known knowledge base.
|
|
1772
|
-
* For a list of languages supported by this operation, @see
|
|
1773
|
-
* {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.
|
|
1774
|
-
* @param documents - The input documents to analyze.
|
|
1775
|
-
* @param options - Options for the operation.
|
|
1776
|
-
*/
|
|
1777
|
-
recognizeLinkedEntities(documents: TextDocumentInput[], options?: RecognizeLinkedEntitiesOptions): Promise<RecognizeLinkedEntitiesResultArray>;
|
|
1778
|
-
/**
|
|
1779
|
-
* Start a healthcare analysis operation to recognize healthcare related entities (drugs, conditions,
|
|
1780
|
-
* symptoms, etc) and their relations.
|
|
1781
|
-
* @param documents - Collection of documents to analyze.
|
|
1782
|
-
* @param language - The language that all the input strings are
|
|
1783
|
-
written in. If unspecified, this value will be set to the default
|
|
1784
|
-
language in `TextAnalyticsClientOptions`.
|
|
1785
|
-
If set to an empty string, the service will apply a model
|
|
1786
|
-
where the language is explicitly set to "None".
|
|
1787
|
-
* @param options - Options for the operation.
|
|
1788
|
-
*/
|
|
1789
|
-
beginAnalyzeHealthcareEntities(documents: string[], language?: string, options?: BeginAnalyzeHealthcareEntitiesOptions): Promise<AnalyzeHealthcareEntitiesPollerLike>;
|
|
1790
|
-
/**
|
|
1791
|
-
* Start a healthcare analysis operation to recognize healthcare related entities (drugs, conditions,
|
|
1792
|
-
* symptoms, etc) and their relations.
|
|
1793
|
-
* @param documents - Collection of documents to analyze.
|
|
1794
|
-
* @param options - Options for the operation.
|
|
1795
|
-
*/
|
|
1796
|
-
beginAnalyzeHealthcareEntities(documents: TextDocumentInput[], options?: BeginAnalyzeHealthcareEntitiesOptions): Promise<AnalyzeHealthcareEntitiesPollerLike>;
|
|
1797
|
-
/**
|
|
1798
|
-
* Submit a collection of text documents for analysis. Specify one or more unique actions to be executed.
|
|
1799
|
-
* @param documents - Collection of documents to analyze
|
|
1800
|
-
* @param actions - TextAnalyticsActions to execute.
|
|
1801
|
-
* @param language - The language that all the input strings are
|
|
1802
|
-
written in. If unspecified, this value will be set to the default
|
|
1803
|
-
language in `TextAnalyticsClientOptions`.
|
|
1804
|
-
If set to an empty string, the service will apply a model
|
|
1805
|
-
where the language is explicitly set to "None".
|
|
1806
|
-
* @param options - Options for the operation.
|
|
1807
|
-
*/
|
|
1808
|
-
beginAnalyzeActions(documents: string[], actions: TextAnalyticsActions, language?: string, options?: BeginAnalyzeActionsOptions): Promise<AnalyzeActionsPollerLike>;
|
|
1809
|
-
/**
|
|
1810
|
-
* Submit a collection of text documents for analysis. Specify one or more unique actions to be executed.
|
|
1811
|
-
* @param documents - Collection of documents to analyze
|
|
1812
|
-
* @param actions - TextAnalyticsActions to execute.
|
|
1813
|
-
* @param options - Options for the operation.
|
|
1814
|
-
*/
|
|
1815
|
-
beginAnalyzeActions(documents: TextDocumentInput[], actions: TextAnalyticsActions, options?: BeginAnalyzeActionsOptions): Promise<AnalyzeActionsPollerLike>;
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
|
-
/**
|
|
1819
|
-
* Client options used to configure TextAnalytics API requests.
|
|
1820
|
-
*/
|
|
1821
|
-
export declare interface TextAnalyticsClientOptions extends CommonClientOptions {
|
|
1822
|
-
/**
|
|
1823
|
-
* The default country hint to use. Defaults to "us".
|
|
1824
|
-
*/
|
|
1825
|
-
defaultCountryHint?: string;
|
|
1826
|
-
/**
|
|
1827
|
-
* The default language to use. Defaults to "en".
|
|
1828
|
-
*/
|
|
1829
|
-
defaultLanguage?: string;
|
|
1830
|
-
}
|
|
1831
|
-
|
|
1832
|
-
/**
|
|
1833
|
-
* Type describing an error from the Text Analytics service.
|
|
1834
|
-
*/
|
|
1835
|
-
export declare interface TextAnalyticsError {
|
|
1836
|
-
/**
|
|
1837
|
-
* A code describing the kind of error produced
|
|
1838
|
-
*/
|
|
1839
|
-
readonly code: ErrorCode;
|
|
1840
|
-
/**
|
|
1841
|
-
* A message from the service explaining the error
|
|
1842
|
-
*/
|
|
1843
|
-
readonly message: string;
|
|
1844
|
-
/**
|
|
1845
|
-
* The target of the particular error (for example, the name of an invalid parameter)
|
|
1846
|
-
*/
|
|
1847
|
-
readonly target?: string;
|
|
1848
|
-
}
|
|
1849
|
-
|
|
1850
|
-
/**
|
|
1851
|
-
* Base type for error results of text analytics operations corresponding to a
|
|
1852
|
-
* single document.
|
|
1853
|
-
*/
|
|
1854
|
-
export declare interface TextAnalyticsErrorResult {
|
|
1855
|
-
/**
|
|
1856
|
-
* Unique, non-empty document identifier.
|
|
1857
|
-
*/
|
|
1858
|
-
readonly id: string;
|
|
1859
|
-
/**
|
|
1860
|
-
* The Error for this document result.
|
|
1861
|
-
*/
|
|
1862
|
-
readonly error: TextAnalyticsError;
|
|
1863
|
-
}
|
|
1864
|
-
|
|
1865
|
-
/**
|
|
1866
|
-
* Options common to all text analytics operations.
|
|
1867
|
-
*/
|
|
1868
|
-
export declare interface TextAnalyticsOperationOptions extends OperationOptions {
|
|
1869
|
-
/**
|
|
1870
|
-
* This value indicates which model will be used for scoring. If a model-version is
|
|
1871
|
-
* not specified, the API should default to the latest, non-preview version.
|
|
1872
|
-
* For supported model versions, see operation-specific documentation, for example:
|
|
1873
|
-
* https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-sentiment-analysis#model-versioning
|
|
1874
|
-
*/
|
|
1875
|
-
modelVersion?: string;
|
|
1876
|
-
/**
|
|
1877
|
-
* If set to true, response will contain input and document level statistics.
|
|
1878
|
-
*/
|
|
1879
|
-
includeStatistics?: boolean;
|
|
1880
|
-
/**
|
|
1881
|
-
* If set to true (the default for `beginAnalyzeHealthcareEntities` and `recognizePiiEntities`),
|
|
1882
|
-
* you opt-out of having your text input logged for troubleshooting. By default, Text Analytics
|
|
1883
|
-
* logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this
|
|
1884
|
-
* parameter to true, disables input logging and may limit our ability to remediate issues that
|
|
1885
|
-
* occur.
|
|
1886
|
-
*/
|
|
1887
|
-
disableServiceLogs?: boolean;
|
|
1888
|
-
}
|
|
1889
|
-
|
|
1890
|
-
/** Defines values for State. */
|
|
1891
|
-
export declare type TextAnalyticsOperationStatus = "notStarted" | "running" | "succeeded" | "failed" | "rejected" | "cancelled" | "cancelling";
|
|
1892
|
-
|
|
1893
|
-
/**
|
|
1894
|
-
* Base type for results of text analytics operations corresponding to a single
|
|
1895
|
-
* input document.
|
|
1896
|
-
*/
|
|
1897
|
-
export declare interface TextAnalyticsSuccessResult {
|
|
1898
|
-
/**
|
|
1899
|
-
* Unique, non-empty document identifier.
|
|
1900
|
-
*/
|
|
1901
|
-
readonly id: string;
|
|
1902
|
-
/**
|
|
1903
|
-
* Statistics about the input document and how it was processed
|
|
1904
|
-
* by the service. This property will have a value when includeStatistics is set to true
|
|
1905
|
-
* in the client call.
|
|
1906
|
-
*/
|
|
1907
|
-
readonly statistics?: TextDocumentStatistics;
|
|
1908
|
-
/**
|
|
1909
|
-
* An array of warning data corresponding to this document.
|
|
1910
|
-
*
|
|
1911
|
-
* If no warnings were returned, this array will be empty.
|
|
1912
|
-
*/
|
|
1913
|
-
readonly warnings: TextAnalyticsWarning[];
|
|
1914
|
-
/**
|
|
1915
|
-
* Discriminant to determine if that this is an error result.
|
|
1916
|
-
*/
|
|
1917
|
-
readonly error?: undefined;
|
|
1918
|
-
}
|
|
1919
|
-
|
|
1920
|
-
/** Represents a warning encountered while processing a document. */
|
|
1921
|
-
export declare interface TextAnalyticsWarning {
|
|
1922
|
-
/** Error code. */
|
|
1923
|
-
code: WarningCode;
|
|
1924
|
-
/** Warning message. */
|
|
1925
|
-
message: string;
|
|
1926
|
-
}
|
|
1927
|
-
|
|
1928
|
-
/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */
|
|
1929
|
-
export declare interface TextDocumentBatchStatistics {
|
|
1930
|
-
/** Number of documents submitted in the request. */
|
|
1931
|
-
documentCount: number;
|
|
1932
|
-
/** Number of valid documents. This excludes empty, over-size limit or non-supported languages documents. */
|
|
1933
|
-
validDocumentCount: number;
|
|
1934
|
-
/** Number of invalid documents. This includes empty, over-size limit or non-supported languages documents. */
|
|
1935
|
-
erroneousDocumentCount: number;
|
|
1936
|
-
/** Number of transactions for the request. */
|
|
1937
|
-
transactionCount: number;
|
|
1938
|
-
}
|
|
1939
|
-
|
|
1940
|
-
/** An object representing an individual text document to be analyzed by the Text Analytics service. The document contains a unique document ID, the full text of the document, and the language of the document's text. */
|
|
1941
|
-
export declare interface TextDocumentInput {
|
|
1942
|
-
/** A unique, non-empty document identifier. */
|
|
1943
|
-
id: string;
|
|
1944
|
-
/** The input text to process. */
|
|
1945
|
-
text: string;
|
|
1946
|
-
/** (Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use "en" for English; "es" for Spanish etc. If not set, use "en" for English as default. */
|
|
1947
|
-
language?: string;
|
|
1948
|
-
}
|
|
1949
|
-
|
|
1950
|
-
/** if includeStatistics=true was specified in the request this field will contain information about the document payload. */
|
|
1951
|
-
export declare interface TextDocumentStatistics {
|
|
1952
|
-
/** Number of text elements recognized in the document. */
|
|
1953
|
-
characterCount: number;
|
|
1954
|
-
/** Number of transactions for the document. */
|
|
1955
|
-
transactionCount: number;
|
|
1956
|
-
}
|
|
1957
|
-
|
|
1958
|
-
/** Defines values for TokenSentimentValue. */
|
|
1959
|
-
export declare type TokenSentimentValue = "positive" | "mixed" | "negative";
|
|
1960
|
-
|
|
1961
|
-
/**
|
|
1962
|
-
* Defines values for WarningCode. \
|
|
1963
|
-
* {@link KnownWarningCode} can be used interchangeably with WarningCode,
|
|
1964
|
-
* this enum contains the known values that the service supports.
|
|
1965
|
-
* ### Known values supported by the service
|
|
1966
|
-
* **LongWordsInDocument** \
|
|
1967
|
-
* **DocumentTruncated**
|
|
1968
|
-
*/
|
|
1969
|
-
export declare type WarningCode = string;
|
|
1970
|
-
|
|
1971
|
-
export { }
|