@azure/ai-language-text package
類別
| AzureKeyCredential |
支援更新基礎金鑰值的靜態金鑰型認證。 |
| TextAnalysisClient |
用戶端,用於與 Azure 認知語言服務中的文字分析功能互動。 用戶端需要語言資源的端點和驗證方法,例如 API 金鑰或 AAD。 您可以在 Azure 入口網站的 [語言資源] 頁面中找到 API 金鑰和端點。 它們會位於資源 [金鑰和端點] 頁面的 [資源管理] 底下。 驗證的範例:API 金鑰
Azure Active Directory如需使用 Azure Active Directory 進行驗證的詳細資訊,請參閱
|
介面
類型別名
| AbstractiveSummarizationBatchResult |
抽象摘要批次動作的結果。 |
| AbstractiveSummarizationErrorResult |
單一檔上抽象摘要動作所產生的錯誤。 |
| AbstractiveSummarizationResult |
單一檔上抽象摘要動作的結果。 |
| AnalyzeActionName |
分析 方法支援的動作類型。 |
| AnalyzeActionParameters |
$AnalyzeActionNames中每個動作的參數類型。 |
| AnalyzeBatchAction |
動作批次。 |
| AnalyzeBatchActionName |
beginAnalyzeBatch 方法支援的動作類型。 |
| AnalyzeBatchPoller |
輪詢 startAnalyzeBatch啟動之長時間執行作業的輪詢器。 |
| AnalyzeBatchResult |
動作批次的結果。 |
| AnalyzeResult |
$AnalyzeActionNames中每個動作的結果類型。 |
| BatchActionResult |
批次動作的結果。 |
| CustomEntityRecognitionBatchResult |
自定義實體辨識批次動作的結果。 |
| CustomEntityRecognitionErrorResult |
單一檔上自定義實體辨識動作所產生的錯誤。 |
| CustomEntityRecognitionResult |
單一檔上的自定義實體辨識動作結果。 |
| CustomMultiLabelClassificationBatchResult |
自定義多重標籤分類批次動作的結果。 |
| CustomMultiLabelClassificationErrorResult |
多重檔上多重標籤分類動作所產生的錯誤。 |
| CustomMultiLabelClassificationResult |
多重檔上的多標籤分類動作結果。 |
| CustomSingleLabelClassificationBatchResult |
自定義單一標籤分類批次動作的結果。 |
| CustomSingleLabelClassificationErrorResult |
單一檔上單一標籤分類動作所產生的錯誤。 |
| CustomSingleLabelClassificationResult |
單一檔上單一標籤分類動作的結果。 |
| DocumentSentimentLabel |
定義 DocumentSentimentLabel 的值。 |
| EntityAssociation |
定義 EntityAssociation 的值。 |
| EntityCertainty |
定義 EntityCertainty 的值。 |
| EntityConditionality |
定義 EntityConditionality 的值。 |
| EntityLinkingBatchResult |
實體連結批次動作的結果。 |
| EntityLinkingErrorResult |
單一檔上實體連結動作所造成的錯誤。 |
| EntityLinkingResult |
單一檔上實體連結動作的結果。 |
| EntityRecognitionBatchResult |
實體辨識批次動作的結果。 |
| EntityRecognitionErrorResult |
單一檔上的實體辨識動作所產生的錯誤。 |
| EntityRecognitionResult |
單一檔上的實體辨識動作結果。 |
| ExtractiveSummarizationBatchResult |
擷取摘要批次動作的結果。 |
| ExtractiveSummarizationErrorResult |
單一檔上擷取摘要動作所產生的錯誤。 |
| ExtractiveSummarizationOrderingCriteria |
定義 ExtractiveSummarizationOrderingCriteria 的值。 服務支援的已知值
位移:指出結果應該依照文字中的外觀順序排序。 |
| ExtractiveSummarizationResult |
單一檔上擷取摘要動作的結果。 |
| HealthcareBatchResult |
醫療保健批次動作的結果。 |
| HealthcareEntityCategory |
定義 HealthcareEntityCategory 的值。 服務支援的已知值
BodyStructure |
| HealthcareEntityRelationRoleType |
醫療保健實體可以在關聯中扮演的不同角色類型。 |
| HealthcareErrorResult |
單一檔上醫療保健分析動作的錯誤結果。 |
| HealthcareResult |
單一檔上的醫療保健分析動作結果。 |
| KeyPhraseExtractionBatchResult |
關鍵片語擷取批次動作的結果。 |
| KeyPhraseExtractionErrorResult |
單一檔上關鍵片語擷取動作所產生的錯誤。 |
| KeyPhraseExtractionResult |
單一檔情感分析動作的結果。 |
| LanguageDetectionErrorResult |
單一檔上語言偵測動作所產生的錯誤。 |
| LanguageDetectionResult |
單一文件的語言偵測動作結果。 |
| PagedAnalyzeBatchResult |
beginAnalyzeBatch 作業的分頁結果。 |
| PiiEntityCategory |
定義 PiiEntityCategory 的值。 服務支援的已知值
ABARoutingNumber |
| PiiEntityDomain |
定義 PiiEntityDomain 的值。 服務支援的已知值
phi:指出個人健康情況資訊網域中的實體應進行修訂。 |
| PiiEntityRecognitionBatchResult |
pii 實體辨識批次動作的結果。 |
| PiiEntityRecognitionErrorResult |
單一檔上的 pii 實體辨識動作所產生的錯誤。 |
| PiiEntityRecognitionResult |
單一檔上的實體辨識動作結果。 |
| RelationType |
定義 RelationType 的值。 服務支援的已知值
縮寫 |
| SentenceSentimentLabel |
定義 SentenceSentimentLabel 的值。 |
| SentimentAnalysisBatchResult |
情感分析批次動作的結果。 |
| SentimentAnalysisErrorResult |
單一檔情感分析動作所產生的錯誤。 |
| SentimentAnalysisResult |
單一檔情感分析動作的結果。 |
| StringIndexType |
定義 StringIndexType 的值。 服務支援的已知值
TextElements_v8:傳回的位移和長度值會對應至 TextElements (Graphemes 和 Grapheme 叢集)確認為 Unicode 8.0.0 標準。 如果您的應用程式是以 .Net Framework 或 .Net Core 撰寫,而且您將使用 StringInfo,請使用此選項。 |
| TokenSentimentLabel |
定義 TokenSentimentLabel 的值。 |
| WarningCode |
定義 WarningCode 的值。 服務支援的已知值
LongWordsInDocument |
列舉
變數
| Analyze |
分析 方法支援的動作類型。 |
| Analyze |
beginAnalyzeBatch 方法支援的動作類型。 |
| Known |
列舉 TextAnalysisError 可能的錯誤碼。 |
Variable Details
AnalyzeActionNames
分析 方法支援的動作類型。
AnalyzeActionNames: { EntityLinking: "EntityLinking", EntityRecognition: "EntityRecognition", KeyPhraseExtraction: "KeyPhraseExtraction", LanguageDetection: "LanguageDetection", PiiEntityRecognition: "PiiEntityRecognition", SentimentAnalysis: "SentimentAnalysis" }
類型
{ EntityLinking: "EntityLinking", EntityRecognition: "EntityRecognition", KeyPhraseExtraction: "KeyPhraseExtraction", LanguageDetection: "LanguageDetection", PiiEntityRecognition: "PiiEntityRecognition", SentimentAnalysis: "SentimentAnalysis" }
AnalyzeBatchActionNames
beginAnalyzeBatch 方法支援的動作類型。
AnalyzeBatchActionNames: { AbstractiveSummarization: "AbstractiveSummarization", CustomEntityRecognition: "CustomEntityRecognition", CustomMultiLabelClassification: "CustomMultiLabelClassification", CustomSingleLabelClassification: "CustomSingleLabelClassification", EntityLinking: "EntityLinking", EntityRecognition: "EntityRecognition", ExtractiveSummarization: "ExtractiveSummarization", Healthcare: "Healthcare", KeyPhraseExtraction: "KeyPhraseExtraction", PiiEntityRecognition: "PiiEntityRecognition", SentimentAnalysis: "SentimentAnalysis" }
類型
{ AbstractiveSummarization: "AbstractiveSummarization", CustomEntityRecognition: "CustomEntityRecognition", CustomMultiLabelClassification: "CustomMultiLabelClassification", CustomSingleLabelClassification: "CustomSingleLabelClassification", EntityLinking: "EntityLinking", EntityRecognition: "EntityRecognition", ExtractiveSummarization: "ExtractiveSummarization", Healthcare: "Healthcare", KeyPhraseExtraction: "KeyPhraseExtraction", PiiEntityRecognition: "PiiEntityRecognition", SentimentAnalysis: "SentimentAnalysis" }
KnownTextAnalysisErrorCode
列舉 TextAnalysisError 可能的錯誤碼。
KnownTextAnalysisErrorCode: { AzureCognitiveSearchIndexLimitReached: KnownErrorCode.AzureCognitiveSearchIndexLimitReached, AzureCognitiveSearchIndexNotFound: KnownErrorCode.AzureCognitiveSearchIndexNotFound, AzureCognitiveSearchNotFound: KnownInnerErrorCode.AzureCognitiveSearchNotFound, AzureCognitiveSearchThrottling: KnownInnerErrorCode.AzureCognitiveSearchThrottling, Conflict: KnownErrorCode.Conflict, EmptyRequest: KnownInnerErrorCode.EmptyRequest, ExtractionFailure: KnownInnerErrorCode.ExtractionFailure, Forbidden: KnownErrorCode.Forbidden, InternalServerError: KnownErrorCode.InternalServerError, InvalidArgument: KnownErrorCode.InvalidArgument, InvalidCountryHint: KnownInnerErrorCode.InvalidCountryHint, InvalidDocument: KnownInnerErrorCode.InvalidDocument, InvalidDocumentBatch: KnownInnerErrorCode.InvalidDocumentBatch, InvalidParameterValue: KnownInnerErrorCode.InvalidParameterValue, InvalidRequest: KnownInnerErrorCode.InvalidRequest, InvalidRequestBodyFormat: KnownInnerErrorCode.InvalidRequestBodyFormat, KnowledgeBaseNotFound: KnownInnerErrorCode.KnowledgeBaseNotFound, MissingInputDocuments: KnownInnerErrorCode.MissingInputDocuments, ModelVersionIncorrect: KnownInnerErrorCode.ModelVersionIncorrect, NotFound: KnownErrorCode.NotFound, OperationNotFound: KnownErrorCode.OperationNotFound, ProjectNotFound: KnownErrorCode.ProjectNotFound, QuotaExceeded: KnownErrorCode.QuotaExceeded, ServiceUnavailable: KnownErrorCode.ServiceUnavailable, Timeout: KnownErrorCode.Timeout, TooManyRequests: KnownErrorCode.TooManyRequests, Unauthorized: KnownErrorCode.Unauthorized, UnsupportedLanguageCode: KnownInnerErrorCode.UnsupportedLanguageCode, Warning: KnownErrorCode.Warning }
類型
{ AzureCognitiveSearchIndexLimitReached: KnownErrorCode.AzureCognitiveSearchIndexLimitReached, AzureCognitiveSearchIndexNotFound: KnownErrorCode.AzureCognitiveSearchIndexNotFound, AzureCognitiveSearchNotFound: KnownInnerErrorCode.AzureCognitiveSearchNotFound, AzureCognitiveSearchThrottling: KnownInnerErrorCode.AzureCognitiveSearchThrottling, Conflict: KnownErrorCode.Conflict, EmptyRequest: KnownInnerErrorCode.EmptyRequest, ExtractionFailure: KnownInnerErrorCode.ExtractionFailure, Forbidden: KnownErrorCode.Forbidden, InternalServerError: KnownErrorCode.InternalServerError, InvalidArgument: KnownErrorCode.InvalidArgument, InvalidCountryHint: KnownInnerErrorCode.InvalidCountryHint, InvalidDocument: KnownInnerErrorCode.InvalidDocument, InvalidDocumentBatch: KnownInnerErrorCode.InvalidDocumentBatch, InvalidParameterValue: KnownInnerErrorCode.InvalidParameterValue, InvalidRequest: KnownInnerErrorCode.InvalidRequest, InvalidRequestBodyFormat: KnownInnerErrorCode.InvalidRequestBodyFormat, KnowledgeBaseNotFound: KnownInnerErrorCode.KnowledgeBaseNotFound, MissingInputDocuments: KnownInnerErrorCode.MissingInputDocuments, ModelVersionIncorrect: KnownInnerErrorCode.ModelVersionIncorrect, NotFound: KnownErrorCode.NotFound, OperationNotFound: KnownErrorCode.OperationNotFound, ProjectNotFound: KnownErrorCode.ProjectNotFound, QuotaExceeded: KnownErrorCode.QuotaExceeded, ServiceUnavailable: KnownErrorCode.ServiceUnavailable, Timeout: KnownErrorCode.Timeout, TooManyRequests: KnownErrorCode.TooManyRequests, Unauthorized: KnownErrorCode.Unauthorized, UnsupportedLanguageCode: KnownInnerErrorCode.UnsupportedLanguageCode, Warning: KnownErrorCode.Warning }