Click or drag to resize

LanguageTranslator Class

This class wraps the Language Translator service. Language Translator Service
Inheritance Hierarchy
SystemObject
  IBM.Watson.DeveloperCloud.Services.LanguageTranslator.v2LanguageTranslator

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 class LanguageTranslator : IWatsonService

The LanguageTranslator type exposes the following members.

Constructors
  NameDescription
Public methodLanguageTranslator
Initializes a new instance of the LanguageTranslator class
Top
Properties
  NameDescription
Public propertyCredentials
Gets and sets the credentials of the service. Replace the default endpoint if endpoint is defined.
Public propertyUrl
Gets and sets the endpoint URL for the service.
Top
Methods
  NameDescription
Public methodCreateModel
Uploads a TMX glossary file on top of a domain to customize a translation model.
Public methodDeleteModel
Delete a specific model by it's ID.
Public methodGetLanguages
This function returns a list to the callback of all identifiable languages.
Public methodGetModel
Get a specific model by it's ID.
Public methodGetModels
Retrieve the translation models with optional filters.
Public methodGetTranslation(LanguageTranslatorSuccessCallbackTranslations, LanguageTranslatorFailCallback, String, String, DictionaryString, Object)
Translate the provided text using the specified model.
Public methodGetTranslation(LanguageTranslatorSuccessCallbackTranslations, LanguageTranslatorFailCallback, String, String, String, DictionaryString, Object)
Translate the provided text using the specified source and target.
Public methodIdentify
Identifies a language from the given text.
Top
See Also