TextModerationExtensions.ScreenText(ITextModeration, String, Stream, String, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>) Method

Definition

Detect profanity and match against custom and shared blacklists

public static Microsoft.Azure.CognitiveServices.ContentModerator.Models.Screen ScreenText (this Microsoft.Azure.CognitiveServices.ContentModerator.ITextModeration operations, string textContentType, System.IO.Stream textContent, string language = default, bool? autocorrect = False, bool? pII = False, string listId = default, bool? classify = False);
static member ScreenText : Microsoft.Azure.CognitiveServices.ContentModerator.ITextModeration * string * System.IO.Stream * string * Nullable<bool> * Nullable<bool> * string * Nullable<bool> -> Microsoft.Azure.CognitiveServices.ContentModerator.Models.Screen
<Extension()>
Public Function ScreenText (operations As ITextModeration, textContentType As String, textContent As Stream, Optional language As String = Nothing, Optional autocorrect As Nullable(Of Boolean) = False, Optional pII As Nullable(Of Boolean) = False, Optional listId As String = Nothing, Optional classify As Nullable(Of Boolean) = False) As Screen

Parameters

operations
ITextModeration

The operations group for this extension method.

textContentType
System.String

The content type. Possible values include: 'text/plain', 'text/html', 'text/xml', 'text/markdown'

textContent
System.IO.Stream

Content to screen.

language
System.String

Language of the text.

autocorrect
System.Nullable<System.Boolean>

Autocorrect text.

pII
System.Nullable<System.Boolean>

Detect personal identifiable information.

listId
System.String

The list Id.

classify
System.Nullable<System.Boolean>

Classify input.

Returns

Screen

Remarks

Detects profanity in more than 100 languages and match against custom and shared blacklists.

Applies to