1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
//go:build go1.9
// +build go1.9
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/eng/tools/profileBuilder
package textanalytics
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.1/textanalytics"
type BaseClient = original.BaseClient
type DetectedLanguage = original.DetectedLanguage
type DocumentStatistics = original.DocumentStatistics
type EntitiesBatchResult = original.EntitiesBatchResult
type EntitiesBatchResultItem = original.EntitiesBatchResultItem
type EntityRecord = original.EntityRecord
type ErrorRecord = original.ErrorRecord
type ErrorResponse = original.ErrorResponse
type InternalError = original.InternalError
type KeyPhraseBatchResult = original.KeyPhraseBatchResult
type KeyPhraseBatchResultItem = original.KeyPhraseBatchResultItem
type LanguageBatchInput = original.LanguageBatchInput
type LanguageBatchResult = original.LanguageBatchResult
type LanguageBatchResultItem = original.LanguageBatchResultItem
type LanguageInput = original.LanguageInput
type MatchRecord = original.MatchRecord
type MultiLanguageBatchInput = original.MultiLanguageBatchInput
type MultiLanguageInput = original.MultiLanguageInput
type RequestStatistics = original.RequestStatistics
type SentimentBatchResult = original.SentimentBatchResult
type SentimentBatchResultItem = original.SentimentBatchResultItem
func New(endpoint string) BaseClient {
return original.New(endpoint)
}
func NewWithoutDefaults(endpoint string) BaseClient {
return original.NewWithoutDefaults(endpoint)
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
func Version() string {
return original.Version()
}
|