C# Класс BuildIt.CognitiveServices.AzureMachineLearningTextAnalyticsExtensions

Extension methods for AzureMachineLearningTextAnalytics.
Показать файл Открыть проект

Открытые методы

Метод Описание
DetectLanguage ( this operations, int numberOfLanguagesToDetect = default(int?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), BatchInputV2 batchInputV2 = default(BatchInputV2) ) : object

The API returns the detected language and a numeric score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. A total of 120 languages are supported.

DetectLanguageAsync ( this operations, int numberOfLanguagesToDetect = default(int?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), BatchInputV2 batchInputV2 = default(BatchInputV2), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

The API returns the detected language and a numeric score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. A total of 120 languages are supported.

DetectTopics ( this operations, int minDocumentsPerWord = default(int?), int maxDocumentsPerWord = default(int?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), TopicDetectionInputV2 topicDetectionInputV2 = default(TopicDetectionInputV2) ) : ErrorResponse

The API returns the top detected topics for a list of submitted text documents. A topic is identified with a key phrase, which can be one or more related words. Use the URL parameters and stop word list to control which words or documents are filtered out. You can also supply a list of topics to exclude from the response. At least 100 text documents must be submitted, however it is designed to detect topics across hundreds to thousands of documents. Note that one transaction is charged per text document submitted. For best performance, limit each document to a short, human written text paragraph such as review, conversation or user feedback.

DetectTopicsAsync ( this operations, int minDocumentsPerWord = default(int?), int maxDocumentsPerWord = default(int?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), TopicDetectionInputV2 topicDetectionInputV2 = default(TopicDetectionInputV2), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

The API returns the top detected topics for a list of submitted text documents. A topic is identified with a key phrase, which can be one or more related words. Use the URL parameters and stop word list to control which words or documents are filtered out. You can also supply a list of topics to exclude from the response. At least 100 text documents must be submitted, however it is designed to detect topics across hundreds to thousands of documents. Note that one transaction is charged per text document submitted. For best performance, limit each document to a short, human written text paragraph such as review, conversation or user feedback.

KeyPhrases ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), MultiLanguageBatchInputV2 multiLanguageBatchInputV2 = default(MultiLanguageBatchInputV2) ) : object

The API returns a list of strings denoting the key talking points in the input text. We employ techniques from Microsoft Office's sophisticated Natural Language Processing toolkit. Currently, the following languages are supported: English, German, Spanish and Japanese.

KeyPhrasesAsync ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), MultiLanguageBatchInputV2 multiLanguageBatchInputV2 = default(MultiLanguageBatchInputV2), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

The API returns a list of strings denoting the key talking points in the input text. We employ techniques from Microsoft Office's sophisticated Natural Language Processing toolkit. Currently, the following languages are supported: English, German, Spanish and Japanese.

OperationStatus ( this operations, string operationId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : object

Get the status of an operation submitted for processing. If the the operation has reached a 'Succeeded' state, will also return the result.

OperationStatusAsync ( this operations, string operationId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

Get the status of an operation submitted for processing. If the the operation has reached a 'Succeeded' state, will also return the result.

Sentiment ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), MultiLanguageBatchInputV2 multiLanguageBatchInputV2 = default(MultiLanguageBatchInputV2) ) : object

The API returns a numeric score between 0 and 1. Scores close to 1 indicate positive sentiment, while scores close to 0 indicate negative sentiment. Sentiment score is generated using classification techniques. The input features to the classifier include n-grams, features generated from part-of-speech tags, and word embeddings. Currently, the following languages are supported: English, Spanish, French, Portuguese.

SentimentAsync ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), MultiLanguageBatchInputV2 multiLanguageBatchInputV2 = default(MultiLanguageBatchInputV2), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

The API returns a numeric score between 0 and 1. Scores close to 1 indicate positive sentiment, while scores close to 0 indicate negative sentiment. Sentiment score is generated using classification techniques. The input features to the classifier include n-grams, features generated from part-of-speech tags, and word embeddings. Currently, the following languages are supported: English, Spanish, French, Portuguese.

Описание методов

DetectLanguage() публичный статический Метод

The API returns the detected language and a numeric score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. A total of 120 languages are supported.
public static DetectLanguage ( this operations, int numberOfLanguagesToDetect = default(int?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), BatchInputV2 batchInputV2 = default(BatchInputV2) ) : object
operations this /// The operations group for this extension method. ///
numberOfLanguagesToDetect int /// Format - int32. (Optional) Number of languages to detect. Set to 1 by /// default. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
batchInputV2 BatchInputV2 ///
Результат object

DetectLanguageAsync() публичный статический Метод

The API returns the detected language and a numeric score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. A total of 120 languages are supported.
public static DetectLanguageAsync ( this operations, int numberOfLanguagesToDetect = default(int?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), BatchInputV2 batchInputV2 = default(BatchInputV2), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
numberOfLanguagesToDetect int /// Format - int32. (Optional) Number of languages to detect. Set to 1 by /// default. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
batchInputV2 BatchInputV2 ///
cancellationToken System /// The cancellation token. ///
Результат System.Threading.Tasks.Task

DetectTopics() публичный статический Метод

The API returns the top detected topics for a list of submitted text documents. A topic is identified with a key phrase, which can be one or more related words. Use the URL parameters and stop word list to control which words or documents are filtered out. You can also supply a list of topics to exclude from the response. At least 100 text documents must be submitted, however it is designed to detect topics across hundreds to thousands of documents. Note that one transaction is charged per text document submitted. For best performance, limit each document to a short, human written text paragraph such as review, conversation or user feedback.
public static DetectTopics ( this operations, int minDocumentsPerWord = default(int?), int maxDocumentsPerWord = default(int?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), TopicDetectionInputV2 topicDetectionInputV2 = default(TopicDetectionInputV2) ) : ErrorResponse
operations this /// The operations group for this extension method. ///
minDocumentsPerWord int /// Format - int32. (optional) Words that occur in less than this many /// documents are ignored. /// Use this parameter to help exclude rare document topics. /// Omit to let the service choose appropriate value. ///
maxDocumentsPerWord int /// Format - int32. (optional) Words that occur in more than this many /// documents are ignored. /// Use this parameter to help exclude ubiquitous document topics. /// Omit to let the service choose appropriate value. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
topicDetectionInputV2 TopicDetectionInputV2 ///
Результат ErrorResponse

DetectTopicsAsync() публичный статический Метод

The API returns the top detected topics for a list of submitted text documents. A topic is identified with a key phrase, which can be one or more related words. Use the URL parameters and stop word list to control which words or documents are filtered out. You can also supply a list of topics to exclude from the response. At least 100 text documents must be submitted, however it is designed to detect topics across hundreds to thousands of documents. Note that one transaction is charged per text document submitted. For best performance, limit each document to a short, human written text paragraph such as review, conversation or user feedback.
public static DetectTopicsAsync ( this operations, int minDocumentsPerWord = default(int?), int maxDocumentsPerWord = default(int?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), TopicDetectionInputV2 topicDetectionInputV2 = default(TopicDetectionInputV2), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
minDocumentsPerWord int /// Format - int32. (optional) Words that occur in less than this many /// documents are ignored. /// Use this parameter to help exclude rare document topics. /// Omit to let the service choose appropriate value. ///
maxDocumentsPerWord int /// Format - int32. (optional) Words that occur in more than this many /// documents are ignored. /// Use this parameter to help exclude ubiquitous document topics. /// Omit to let the service choose appropriate value. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
topicDetectionInputV2 TopicDetectionInputV2 ///
cancellationToken System /// The cancellation token. ///
Результат System.Threading.Tasks.Task

KeyPhrases() публичный статический Метод

The API returns a list of strings denoting the key talking points in the input text. We employ techniques from Microsoft Office's sophisticated Natural Language Processing toolkit. Currently, the following languages are supported: English, German, Spanish and Japanese.
public static KeyPhrases ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), MultiLanguageBatchInputV2 multiLanguageBatchInputV2 = default(MultiLanguageBatchInputV2) ) : object
operations this /// The operations group for this extension method. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
multiLanguageBatchInputV2 MultiLanguageBatchInputV2 ///
Результат object

KeyPhrasesAsync() публичный статический Метод

The API returns a list of strings denoting the key talking points in the input text. We employ techniques from Microsoft Office's sophisticated Natural Language Processing toolkit. Currently, the following languages are supported: English, German, Spanish and Japanese.
public static KeyPhrasesAsync ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), MultiLanguageBatchInputV2 multiLanguageBatchInputV2 = default(MultiLanguageBatchInputV2), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
multiLanguageBatchInputV2 MultiLanguageBatchInputV2 ///
cancellationToken System /// The cancellation token. ///
Результат System.Threading.Tasks.Task

OperationStatus() публичный статический Метод

Get the status of an operation submitted for processing. If the the operation has reached a 'Succeeded' state, will also return the result.
public static OperationStatus ( this operations, string operationId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : object
operations this /// The operations group for this extension method. ///
operationId string /// A unique id for the submitted operation. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
Результат object

OperationStatusAsync() публичный статический Метод

Get the status of an operation submitted for processing. If the the operation has reached a 'Succeeded' state, will also return the result.
public static OperationStatusAsync ( this operations, string operationId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
operationId string /// A unique id for the submitted operation. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
Результат System.Threading.Tasks.Task

Sentiment() публичный статический Метод

The API returns a numeric score between 0 and 1. Scores close to 1 indicate positive sentiment, while scores close to 0 indicate negative sentiment. Sentiment score is generated using classification techniques. The input features to the classifier include n-grams, features generated from part-of-speech tags, and word embeddings. Currently, the following languages are supported: English, Spanish, French, Portuguese.
public static Sentiment ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), MultiLanguageBatchInputV2 multiLanguageBatchInputV2 = default(MultiLanguageBatchInputV2) ) : object
operations this /// The operations group for this extension method. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
multiLanguageBatchInputV2 MultiLanguageBatchInputV2 ///
Результат object

SentimentAsync() публичный статический Метод

The API returns a numeric score between 0 and 1. Scores close to 1 indicate positive sentiment, while scores close to 0 indicate negative sentiment. Sentiment score is generated using classification techniques. The input features to the classifier include n-grams, features generated from part-of-speech tags, and word embeddings. Currently, the following languages are supported: English, Spanish, French, Portuguese.
public static SentimentAsync ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), MultiLanguageBatchInputV2 multiLanguageBatchInputV2 = default(MultiLanguageBatchInputV2), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
multiLanguageBatchInputV2 MultiLanguageBatchInputV2 ///
cancellationToken System /// The cancellation token. ///
Результат System.Threading.Tasks.Task