Click or drag to resize
SubsegmentSearchResult Class
Encapsulates the result of a subsegment search operation, a memory translation unit, possiby annotated with score, placeables and context information.
Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.TranslationMemorySearchResult
    Sdl.LanguagePlatform.TranslationMemorySubsegmentSearchResult

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 SubsegmentSearchResult : SearchResult

The SubsegmentSearchResult type exposes the following members.

Constructors
  NameDescription
Public methodSubsegmentSearchResult
Initializes a new instance of the SearchResult class.
Top
Properties
  NameDescription
Public propertyCascadeEntryIndex
Gets or sets the cascade entry index.
(Inherited from SearchResult.)
Public propertyContextData
Gets or sets the context information for this translation unit.
(Inherited from SearchResult.)
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
(Inherited from SearchResult.)
Public propertyMatchTokenCount
The number of tokens in the match fragment
Public propertyMatchTokenIndex
The index of the token in the match segment where the subsegment match fragment starts
Public propertyMatchType
The type of subsegment match
Public propertyMemoryPlaceables
Gets or sets the list of placeables which are found in the memory segment.
(Inherited from SearchResult.)
Public propertyMemoryTranslationUnit
The translation unit found by the search, used to compute the translation proposal.
(Inherited from SearchResult.)
Public propertyPlaceableAssociations
Gets or sets the list of placeables which are found in the memory segment.
(Inherited from SearchResult.)
Public propertyQueryTokenCount
The number of tokens in the query fragment
Public propertyQueryTokenIndex
The index of the token in the query segment where the subsegment match fragment starts
Public propertyScoringResult
Gets or sets the scoring for this result.
(Inherited from SearchResult.)
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.
(Inherited from SearchResult.)
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