| SearchResultMatchingPlaceholderTokens Property |
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
Namespace: Sdl.LanguagePlatform.TranslationMemoryAssembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntaxpublic int MatchingPlaceholderTokens { get; set; }Public Property MatchingPlaceholderTokens As Integer
Get
Set
public:
property int MatchingPlaceholderTokens {
int get ();
void set (int value);
}member MatchingPlaceholderTokens : int with get, set
Property Value
Type:
Int32
Remarks
This field is used internally upon ordering of TM entries so that on the first position
to appear the segment that match by token value too.
See Also
Comments