| NearDuplicatePropertiesNearDupeComparisonThreshold Property |
Gets or sets the Near-Duplicate Comparison Threshold for the case.
Namespace:
Law.EdaIntegration.NearDuplicate
Assembly:
Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.2
Syntax public int NearDupeComparisonThreshold { get; set; }
Property Value
Type:
Int32Exceptions Exception | Condition |
---|
EdaApiException | Thrown if the value is not between 60 and 99. |
Remarks
Determines the minimum percentage of similarity to be considered when comparing the similarity between case files
during near-duplicate analysis.
The valid range for this setting is from 60 to 99.
Examples
This example demonstrates how to set and retrieve the NearDupeComparisonThreshold.
using Law.EdaIntegration;
class Sample
{
public static void Main()
{
string connectionString = @"Data Source=localhost;Initial Catalog=EDA_Management;Integrated Security=False;User ID=myUserId;Password=myPassword";
EdaIntegration edaIntegration = new EdaIntegration();
edaIntegration.InitializeEnvironment(connectionString);
Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");
edaCase.NearDuplicates.Properties.NearDupeComparisonThreshold = 85;
edaCase.NearDuplicates.UpdateProperties();
Console.WriteLine("NearDupeComparisonThreshold: {0}", edaCase.NearDuplicates.Properties.NearDupeComparisonThreshold);
}
}
See Also