Click or drag to resize
SearchResult Class
Encapsulates the result of a search operation, a memory translation unit, possiby annotated with score, placeables and context information.
Inheritance Hierarchy

Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntax
public class SearchResult

The SearchResult type exposes the following members.

Constructors
  NameDescription
Public methodSearchResult
Initializes a new instance of the SearchResult class.
Top
Properties
  NameDescription
Public propertyCascadeEntryIndex
Gets or sets the cascade entry index.
Public propertyContextData
Gets or sets the context information for this translation unit.
Public propertyMatchingPlaceholderTokens
Gets or sets the matching tokens. MatchingPlaceholderTokens attribute counts the number of placeholders that match by value. Upon comparing two segments, if the placeholders value is different, the Scorer will still give 100% match, even if the placeholders value is different for example: - first segment: {Birth}{' '}{year}{' '}{is}{' '}{NumberToken(1980)} - second segment: {Birth}{' '}{year}{' '}{is}{' '}{NumberToken(1985)} The above segments will be considerred equal, even if they are not. This info is used upon ordering of TM entries so that on the first position to appear the segment that match by token value too
Public propertyMemoryPlaceables
Gets or sets the list of placeables which are found in the memory segment.
Public propertyMemoryTranslationUnit
The translation unit found by the search, used to compute the translation proposal.
Public propertyPlaceableAssociations
Gets or sets the list of placeables which are found in the memory segment.
Public propertyScoringResult
Gets or sets the scoring for this result.
Public propertyTranslationProposal
Gets or sets the translation proposal TU, which is a copy of the memory translation unit in which all placeables have been resolved.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community
Edit

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