Click or drag to resize
AbstractMachineTranslationProviderLanguageDirectionSearchSingleSegmentInternal Method
Obtains the translation for a single segment from the machine translation service and returns it in the TranslationProposal field of a SearchResults. Obtaining the translation may be through a round-trip to the server.

This method is abstract and must be implemented by derived classes.

To create a search result from a segment, you can use CreateSearchResult(Segment, Segment).

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntax
protected abstract SearchResults SearchSingleSegmentInternal(
	SearchSettings settings,
	Segment segment
)

Parameters

settings
Type: SearchSettings
The search settings to apply
segment
Type: Segment
The segment to translate (must not be null)

Return Value

Type: SearchResults
A SearchResults data structure if the translation was successful, and null otherwise.
See Also
Community
Edit

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