TTMSFNCLocalizationRelinkCandidate Record
A collected root that might be the same form as an orphaned one under a new name.
API unit family: TMS.TMSFNCLocalizationCollector
Syntax
TTMSFNCLocalizationRelinkCandidate = record
Fields and properties
| Name | Type | Description |
|---|---|---|
Element |
TTMSFNCLocalizationElement |
The collected root being offered as the match. Its own name is the new name the orphaned root would be relinked to. |
Score |
Double |
Overlap coefficient of the two property sets, 0..1: the shared count over the SMALLER of the two, not over their union. Jaccard is wrong for this job. The root being relinked is one that was read back from file, so it holds only what was worth persisting, while the root it is being matched against has usually just been collected from a live form and holds every translatable property that form has. A perfect rename therefore compares a set against a superset of itself, and Jaccard divides by the union - reporting about half for a pair that is in fact a complete match. Dividing by the smaller set asks the question that actually matters: is everything the old form had present on the new one. |
Shared |
Integer |
How many properties the two roots have in common. |
SourceCount |
Integer |
How many properties the root being relinked has. Shared out of this is the honest way to state the match; a bare percentage is not. |