...
1 package textanalyticsapi
2
3
4
5
6
7
8
9 import (
10 "context"
11 "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.0/textanalytics"
12 )
13
14
15 type BaseClientAPI interface {
16 DetectLanguage(ctx context.Context, input textanalytics.BatchInput) (result textanalytics.LanguageBatchResult, err error)
17 Entities(ctx context.Context, input textanalytics.MultiLanguageBatchInput) (result textanalytics.EntitiesBatchResult, err error)
18 KeyPhrases(ctx context.Context, input textanalytics.MultiLanguageBatchInput) (result textanalytics.KeyPhraseBatchResult, err error)
19 Sentiment(ctx context.Context, input textanalytics.MultiLanguageBatchInput) (result textanalytics.SentimentBatchResult, err error)
20 }
21
22 var _ BaseClientAPI = (*textanalytics.BaseClient)(nil)
23
View as plain text