| SubsegmentSearchResult Class |
Namespace: Sdl.LanguagePlatform.TranslationMemory
The SubsegmentSearchResult type exposes the following members.
| Name | Description | |
|---|---|---|
| SubsegmentSearchResult |
Initializes a new instance of the SearchResult class.
|
| Name | Description | |
|---|---|---|
| CascadeEntryIndex |
Gets or sets the cascade entry index.
(Inherited from SearchResult.) | |
| ContextData |
Gets or sets the context information for this translation unit.
(Inherited from SearchResult.) | |
| MatchingPlaceholderTokens |
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.) | |
| MatchTokenCount |
The number of tokens in the match fragment
| |
| MatchTokenIndex |
The index of the token in the match segment where the subsegment match fragment starts
| |
| MatchType |
The type of subsegment match
| |
| MemoryPlaceables |
Gets or sets the list of placeables which are found in the memory segment.
(Inherited from SearchResult.) | |
| MemoryTranslationUnit |
The translation unit found by the search, used to compute the translation proposal.
(Inherited from SearchResult.) | |
| PlaceableAssociations |
Gets or sets the list of placeables which are found in the memory segment.
(Inherited from SearchResult.) | |
| QueryTokenCount |
The number of tokens in the query fragment
| |
| QueryTokenIndex |
The index of the token in the query segment where the subsegment match fragment starts
| |
| ScoringResult |
Gets or sets the scoring for this result.
(Inherited from SearchResult.) | |
| TranslationProposal |
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.) |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |