TextModerationExtensions Class

Definition

Extension methods for TextModeration.

public static class TextModerationExtensions
type TextModerationExtensions = class
Public Module TextModerationExtensions
Inheritance
TextModerationExtensions

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