...

Package textanalyticsapi

import "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.1/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, showStats *bool, languageBatchInput *textanalytics.LanguageBatchInput) (result textanalytics.LanguageBatchResult, err error)
    Entities(ctx context.Context, showStats *bool, multiLanguageBatchInput *textanalytics.MultiLanguageBatchInput) (result textanalytics.EntitiesBatchResult, err error)
    KeyPhrases(ctx context.Context, showStats *bool, multiLanguageBatchInput *textanalytics.MultiLanguageBatchInput) (result textanalytics.KeyPhraseBatchResult, err error)
    Sentiment(ctx context.Context, showStats *bool, multiLanguageBatchInput *textanalytics.MultiLanguageBatchInput) (result textanalytics.SentimentBatchResult, err error)
}