TextModeration Class

Definition

TextModeration operations.

public class TextModeration : Microsoft.Azure.CognitiveServices.ContentModerator.ITextModeration, Microsoft.Rest.IServiceOperations<Microsoft.Azure.CognitiveServices.ContentModerator.ContentModeratorClient>
type TextModeration = class
    interface IServiceOperations<ContentModeratorClient>
    interface ITextModeration
Public Class TextModeration
Implements IServiceOperations(Of ContentModeratorClient), ITextModeration
Inheritance
System.Object
TextModeration
Implements

Constructors

TextModeration(ContentModeratorClient)

Initializes a new instance of the TextModeration class.

Properties

Client

Gets a reference to the ContentModeratorClient

Methods

DetectLanguageWithHttpMessagesAsync(String, Stream, Dictionary<String,List<String>>, CancellationToken)

This operation will detect the language of given input content. Returns the <a href="http://www-01.sil.org/iso639-3/codes.asp">ISO 639-3 code</a> for the predominant language comprising the submitted text. Over 110 languages supported.

ScreenTextWithHttpMessagesAsync(String, Stream, String, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Detect profanity and match against custom and shared blacklists

Extension Methods

DetectLanguage(ITextModeration, String, Stream)

This operation will detect the language of given input content. Returns the <a href="http://www-01.sil.org/iso639-3/codes.asp">ISO 639-3 code</a> for the predominant language comprising the submitted text. Over 110 languages supported.

DetectLanguageAsync(ITextModeration, String, Stream, CancellationToken)

This operation will detect the language of given input content. Returns the <a href="http://www-01.sil.org/iso639-3/codes.asp">ISO 639-3 code</a> for the predominant language comprising the submitted text. Over 110 languages supported.

ScreenText(ITextModeration, String, Stream, String, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>)

Detect profanity and match against custom and shared blacklists

ScreenTextAsync(ITextModeration, String, Stream, String, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>, CancellationToken)

Detect profanity and match against custom and shared blacklists

Applies to