| ScoringResult Class |
Namespace: Sdl.LanguagePlatform.TranslationMemory
The ScoringResult type exposes the following members.
| Name | Description | |
|---|---|---|
| ScoringResult |
Initializes a new instance with default values.
|
| Name | Description | |
|---|---|---|
| AppliedPenalties |
Gets or sets the list of applied penalties for this result.
| |
| BaseScore |
Gets or sets the base score for this result.
| |
| EditDistance |
Gets or sets the edit distance for this result. The edit distance is null for concordance searches
and is only set for standard searches.
| |
| IsExactMatch |
Gets a value indicating whether this result is an exact match. This is the case
if the base score is 100.
| |
| IsStructureContextMatch |
Gets or sets whether or not this match also matches the structural document context. If no
structure context was specified during the search, the value will be false.
| |
| Match |
Gets the final match score for this result, which is the base score minus the maluses of any applied penalties.
| |
| MatchingConcordanceRanges | Gets or sets the matching concordance ranges for this result. This field is null for standard searches and only set for concordance searches. The value identifies the ranges in the memory source segment which match the concordance search. Note that the ranges are not necessarily consecutive. They are, however, sorted. | |
| MemoryTagsDeleted |
Gets or sets whether the tags are deleted or not for this result.
| |
| ResolvedPlaceables |
Gets or sets the number of placeables that can be resolved for this result.
| |
| TagMismatch |
Gets or sets whether there are any tag mismatches. This flag
is set even if no tag mismatch penalty is configured.
| |
| TargetSegmentDiffers |
Valid only when a whole TU is searched, and is only set if it's a 100% match. Not set for fuzzy or concordance matches.
| |
| TextContextMatch |
Gets or sets the type of context match for this result, if applicable.
|
| Name | Description | |
|---|---|---|
| ApplyFilter |
Applies a penalty to the current score, with a specified filter and cost.
| |
| ApplyPenalty |
Applies a penalty to the current score unless a penalty with the same type has already
been applied.
| |
| 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.) | |
| FindAppliedFilter |
Retrieves the applied penalty for a specified filter.
| |
| FindPenalty |
Retrieves the applied penalty for a specified penalty type.
| |
| 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.) | |
| RemovePenalty |
Removes the penalty of the specified type, if set.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |