Click or drag to resize
ITranslationProvider Interface
Represents a multi-lingual translation engine. This can for instance be a translation memory or machine translation engine.

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntax
public interface ITranslationProvider

The ITranslationProvider type exposes the following members.

Properties
  NameDescription
Public propertyIsReadOnly
Gets a flag which indicates whether the translation provider or its underlying storage are read-only. If this flag is true, no data can be deleted, updated, or added.
Public propertyName
Gets the user-friendly name of this provider. It is not necessarily unique across the system.
Public propertyStatusInfo
Gets the status info for the provider.
Public propertySupportsConcordanceSearch
Gets a flag which indicates whether the translation provider supports concordance search in the source or the target language. For more detailed information, see SupportsSourceConcordanceSearch and SupportsTargetConcordanceSearch.
Public propertySupportsDocumentSearches
Gets a flag which indicates whether the translation provider supports document searches and will take document (textual) context into account.
Public propertySupportsFilters
Gets a flag which indicates whether the translation provider supports filters for text and attribute fields. If false, filters supplied in the search settings will be ignored.
Public propertySupportsFuzzySearch
Gets a flag which indicates whether the translation provider supports fuzzy search. This value should be false if SupportsTranslation is false.
Public propertySupportsMultipleResults
Gets a flag which indicates whether the engine may return multiple results for a search. If false, at most one result (and translation proposal) will be computed.
Public propertySupportsPenalties
Gets a flag which indicates whether the translation provider supports penalties of various types. If false, all penalties supplied in the search settings will be ignored.
Public propertySupportsPlaceables
Gets a flag which indicates whether the translation provider supports the detection and handling of placeables, and will return them as part of the search result.
Public propertySupportsScoring
Gets a flag which indicates whether the translation provider produces scored results in the rank between [minScore, 100]. If false, no scores will be computed.
Public propertySupportsSearchForTranslationUnits
Gets a flag which indicates whether the translation provider supports searching for bilingual input TUs (i.e. the SearchTranslationUnit method group). If false, the service only supports searching for simple (monolingual) segments.
Public propertySupportsSourceConcordanceSearch
Gets a flag which indicates whether the translation provider supports concordance search in the source language.
Public propertySupportsStructureContext
Gets a flag which indicates whether the translation provider supports a structure context specification and will consider it for searches. If false, the structure context will be ignored.
Public propertySupportsTaggedInput
Gets a flag which indicates whether or not the translation provider engine supports processing of tagged input and will return input tags in the translation proposals. If false, the engine may drop all tags from search segments, and may not return tags in the output.
Public propertySupportsTargetConcordanceSearch
Gets a flag which indicates whether the translation provider supports concordance search in the target language.
Public propertySupportsTranslation
Gets a flag which indicates whether the translation provider supports translation search (exact and/or fuzzy search) and the generation of translation proposals. In most cases this flag will be true. If this value is false, the translation provider can not be used to request translations, but can still be used to search for concordance matches, if SupportsConcordanceSearch is true.
Public propertySupportsUpdate
Gets a flag which indicates whether the translation provider supports updating/adding of translation units. If false, all update/add methods will return without effect. Note that implementations should not throw exceptions for unsupported methods.
Public propertySupportsWordCounts
Gets a flag which indicates whether the translation provider will compute and return word counts in searches.
Public propertyTranslationMethod
Gets the primary method how the translation provider generates translations.
Public propertyUri
Gets a URI which uniquely identifies this translation provider.
Top
Methods
  NameDescription
Public methodGetLanguageDirection
Gets a translation provider for the specified language direction.
Public methodLoadState
Loads previously serialized state information into this translation provider instance.
Public methodRefreshStatusInfo
Ensures that the provider's status information (StatusInfo) is refreshed, in case it is cached.
Public methodSerializeState
Serializes any meaningful state information for this translation provider that can be stored in projects and sent around the supply chain.
Public methodSupportsLanguageDirection
Checks whether this translation provider supports the specified language direction.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments