C# Class BuildIt.CognitiveServices.ContentModeratorModerateExtensions

Extension methods for ContentModeratorModerate.
Datei anzeigen Open project: builttoroam/BuildIt

Public Methods

Method Description
ImageEvaluate ( this operations, bool cacheImage = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void

Returns probabilities of the image containing racy or adult content.

ImageEvaluateAsync ( this operations, bool cacheImage = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

Returns probabilities of the image containing racy or adult content.

ImageFindFaces ( this operations, bool cacheImage = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
ImageFindFacesAsync ( this operations, bool cacheImage = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
ImageMatch ( this operations, string listId = default(string), bool cacheimage = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void

Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using <a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe">this</a> API. Returns ID and tags of matching image.<br/> <br/> Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.

ImageMatchAsync ( this operations, string listId = default(string), bool cacheimage = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using <a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe">this</a> API. Returns ID and tags of matching image.<br/> <br/> Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.

ImageOCR ( this operations, bool cacheImage = false, bool enhanced = false, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void

Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.

ImageOCRAsync ( this operations, bool cacheImage = false, bool enhanced = false, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.

TextDetectLanguage ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void

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.

TextDetectLanguageAsync ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

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.

TextScreen ( this operations, bool autocorrect = default(bool?), bool urls = default(bool?), bool pII = default(bool?), string listId = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void

The operation detects profanity in more than 100 languages, report on suspicious malware and phishing URLs, and match against custom and shared blacklists.

TextScreenAsync ( this operations, bool autocorrect = default(bool?), bool urls = default(bool?), bool pII = default(bool?), string listId = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

The operation detects profanity in more than 100 languages, report on suspicious malware and phishing URLs, and match against custom and shared blacklists.

Method Details

ImageEvaluate() public static method

Returns probabilities of the image containing racy or adult content.
public static ImageEvaluate ( this operations, bool cacheImage = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
cacheImage bool /// Whether to retain the submitted image for future use; defaults to false if /// omitted ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
return void

ImageEvaluateAsync() public static method

Returns probabilities of the image containing racy or adult content.
public static ImageEvaluateAsync ( this operations, bool cacheImage = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
cacheImage bool /// Whether to retain the submitted image for future use; defaults to false if /// omitted ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
return System.Threading.Tasks.Task

ImageFindFaces() public static method

public static ImageFindFaces ( this operations, bool cacheImage = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
cacheImage bool /// Whether to retain the submitted image for future use; defaults to false if /// omitted ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
return void

ImageFindFacesAsync() public static method

public static ImageFindFacesAsync ( this operations, bool cacheImage = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
cacheImage bool /// Whether to retain the submitted image for future use; defaults to false if /// omitted ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
return System.Threading.Tasks.Task

ImageMatch() public static method

Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using <a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe">this</a> API. Returns ID and tags of matching image.<br/> <br/> Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.
public static ImageMatch ( this operations, string listId = default(string), bool cacheimage = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
listId string ///
cacheimage bool ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
return void

ImageMatchAsync() public static method

Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using <a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe">this</a> API. Returns ID and tags of matching image.<br/> <br/> Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.
public static ImageMatchAsync ( this operations, string listId = default(string), bool cacheimage = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
listId string ///
cacheimage bool ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
return System.Threading.Tasks.Task

ImageOCR() public static method

Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.
public static ImageOCR ( this operations, bool cacheImage = false, bool enhanced = false, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
cacheImage bool /// Whether to retain the submitted image for future use; defaults to false if /// omitted ///
enhanced bool /// When set to True, the image goes through additional processing to come /// with additional candidates. /// /// image/tiff is not supported when enhanced is set to true /// /// Note: This impacts the response time. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
return void

ImageOCRAsync() public static method

Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.
public static ImageOCRAsync ( this operations, bool cacheImage = false, bool enhanced = false, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
cacheImage bool /// Whether to retain the submitted image for future use; defaults to false if /// omitted ///
enhanced bool /// When set to True, the image goes through additional processing to come /// with additional candidates. /// /// image/tiff is not supported when enhanced is set to true /// /// Note: This impacts the response time. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
return System.Threading.Tasks.Task

TextDetectLanguage() public static method

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.
public static TextDetectLanguage ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
return void

TextDetectLanguageAsync() public static method

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.
public static TextDetectLanguageAsync ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
return System.Threading.Tasks.Task

TextScreen() public static method

The operation detects profanity in more than 100 languages, report on suspicious malware and phishing URLs, and match against custom and shared blacklists.
public static TextScreen ( this operations, bool autocorrect = default(bool?), bool urls = default(bool?), bool pII = default(bool?), string listId = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
autocorrect bool /// Runs auto correction on the input, before running other operations. ///
urls bool /// Detects URLs in the input and analyses each URL to return a score for /// Malware, Phishing, and Adult. ///
pII bool /// Detects Personal Identifiable Information (PII) in the input. ///
listId string /// The Term list to be for matching ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
return void

TextScreenAsync() public static method

The operation detects profanity in more than 100 languages, report on suspicious malware and phishing URLs, and match against custom and shared blacklists.
public static TextScreenAsync ( this operations, bool autocorrect = default(bool?), bool urls = default(bool?), bool pII = default(bool?), string listId = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
autocorrect bool /// Runs auto correction on the input, before running other operations. ///
urls bool /// Detects URLs in the input and analyses each URL to return a score for /// Malware, Phishing, and Adult. ///
pII bool /// Detects Personal Identifiable Information (PII) in the input. ///
listId string /// The Term list to be for matching ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
return System.Threading.Tasks.Task