Click or drag to resize

LanguageTranslatorIdentify Method

Identifies a language from the given text.

Namespace:  IBM.Watson.DeveloperCloud.Services.LanguageTranslator.v2
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool Identify(
	LanguageTranslatorSuccessCallback<IdentifiedLanguages> successCallback,
	LanguageTranslatorFailCallback failCallback,
	string text,
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.LanguageTranslator.v2LanguageTranslatorSuccessCallbackIdentifiedLanguages
The success callback.
failCallback
Type: IBM.Watson.DeveloperCloud.Services.LanguageTranslator.v2LanguageTranslatorFailCallback
The fail callback.
text
Type: SystemString
The text sample to ID.
customData (Optional)
Type: System.Collections.GenericDictionaryString, Object

[Missing <param name="customData"/> documentation for "M:IBM.Watson.DeveloperCloud.Services.LanguageTranslator.v2.LanguageTranslator.Identify(IBM.Watson.DeveloperCloud.Services.LanguageTranslator.v2.LanguageTranslator.SuccessCallback{IBM.Watson.DeveloperCloud.Services.LanguageTranslator.v2.IdentifiedLanguages},IBM.Watson.DeveloperCloud.Services.LanguageTranslator.v2.LanguageTranslator.FailCallback,System.String,System.Collections.Generic.Dictionary{System.String,System.Object})"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:IBM.Watson.DeveloperCloud.Services.LanguageTranslator.v2.LanguageTranslator.Identify(IBM.Watson.DeveloperCloud.Services.LanguageTranslator.v2.LanguageTranslator.SuccessCallback{IBM.Watson.DeveloperCloud.Services.LanguageTranslator.v2.IdentifiedLanguages},IBM.Watson.DeveloperCloud.Services.LanguageTranslator.v2.LanguageTranslator.FailCallback,System.String,System.Collections.Generic.Dictionary{System.String,System.Object})"]

See Also