| 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.TranslationMemoryApiAssembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntaxprotected abstract IList<SearchResults> SearchMultipleSegmentsInternal(
SearchSettings settings,
IList<Segment> segments
)
Protected MustOverride Function SearchMultipleSegmentsInternal (
settings As SearchSettings,
segments As IList(Of Segment)
) As IList(Of SearchResults)
protected:
virtual IList<SearchResults^>^ SearchMultipleSegmentsInternal(
SearchSettings^ settings,
IList<Segment^>^ segments
) abstract
abstract SearchMultipleSegmentsInternal :
settings : SearchSettings *
segments : IList<Segment> -> IList<SearchResults>
Parameters
- settings
- Type: SearchSettings
The search settings to apply - segments
- Type: System.Collections.GenericIListSegment
The segments to translate (must not be null)
Return Value
Type:
IListSearchResultsA collection of
SearchResults data structures if the translation was
successful, and
null otherwise.
See Also
Comments