TextModeration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
-
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
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기