Click or drag to resize
AbstractMachineTranslationProviderLanguageDirectionSearchMultipleSegmentsInternal Method
Obtains the translation for a set of segments from the machine translation service and returns it in the TranslationProposal field of a SearchResults collection. Obtaining the translation should, but does not have to, result in only a single server round-trip.

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.3880.0)
Syntax
protected abstract IList<SearchResults> SearchMultipleSegmentsInternal(
	SearchSettings settings,
	IList<Segment> segments
)

Parameters

settings
Type: Sdl.LanguagePlatform.TranslationMemorySearchSettings
The search settings to apply
segments
Type: System.Collections.GenericIListSegment
The segments to translate (must not be null)

Return Value

Type: IListSearchResults
A collection of SearchResults data structures if the translation was successful, and null otherwise.
See Also
Community
Edit

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