TextModerations Interface

Definition

An instance of this class provides access to all the operations defined in TextModerations.

public interface TextModerations

Methods

detectLanguage(String textContentType, byte[] textContent)

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(String textContentType, byte[] textContent)

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()

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

screenText(String textContentType, byte[] textContent, ScreenTextOptionalParameter screenTextOptionalParameter)

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

screenTextAsync(String textContentType, byte[] textContent, ScreenTextOptionalParameter screenTextOptionalParameter)

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

Applies to