Share via


ITextModeration Interface

Definition

TextModeration operations.

public interface ITextModeration
type ITextModeration = interface
Public Interface ITextModeration
Derived

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