...

Package textanalyticsapi

import "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.0/textanalytics/textanalyticsapi"
Overview
Index

Overview ▾

Index ▾

Package files

interfaces.go

type BaseClientAPI

BaseClientAPI contains the set of methods on the BaseClient type.

type BaseClientAPI interface {
    DetectLanguage(ctx context.Context, input textanalytics.BatchInput) (result textanalytics.LanguageBatchResult, err error)
    Entities(ctx context.Context, input textanalytics.MultiLanguageBatchInput) (result textanalytics.EntitiesBatchResult, err error)
    KeyPhrases(ctx context.Context, input textanalytics.MultiLanguageBatchInput) (result textanalytics.KeyPhraseBatchResult, err error)
    Sentiment(ctx context.Context, input textanalytics.MultiLanguageBatchInput) (result textanalytics.SentimentBatchResult, err error)
}