...

Source file src/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.1/textanalytics/textanalyticsapi/interfaces.go

Documentation: github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.1/textanalytics/textanalyticsapi

     1  package textanalyticsapi
     2  
     3  // Copyright (c) Microsoft Corporation. All rights reserved.
     4  // Licensed under the MIT License. See License.txt in the project root for license information.
     5  //
     6  // Code generated by Microsoft (R) AutoRest Code Generator.
     7  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
     8  
     9  import (
    10  	"context"
    11  	"github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.1/textanalytics"
    12  )
    13  
    14  // BaseClientAPI contains the set of methods on the BaseClient type.
    15  type BaseClientAPI interface {
    16  	DetectLanguage(ctx context.Context, showStats *bool, languageBatchInput *textanalytics.LanguageBatchInput) (result textanalytics.LanguageBatchResult, err error)
    17  	Entities(ctx context.Context, showStats *bool, multiLanguageBatchInput *textanalytics.MultiLanguageBatchInput) (result textanalytics.EntitiesBatchResult, err error)
    18  	KeyPhrases(ctx context.Context, showStats *bool, multiLanguageBatchInput *textanalytics.MultiLanguageBatchInput) (result textanalytics.KeyPhraseBatchResult, err error)
    19  	Sentiment(ctx context.Context, showStats *bool, multiLanguageBatchInput *textanalytics.MultiLanguageBatchInput) (result textanalytics.SentimentBatchResult, err error)
    20  }
    21  
    22  var _ BaseClientAPI = (*textanalytics.BaseClient)(nil)
    23  

View as plain text