Codeunit 337 No. Series Text Match Impl.

Business Foundation, Microsoft.Foundation.NoSeries

Source AL, 137 lines

src/Business Foundation/App/NoSeriesCopilot/src/Copilot/Search/Classic/NoSeriesTextMatchImpl.Codeunit.allines 8 to 23 of 137, Copyright (c) Microsoft Corporation. MIT

codeunit 337 "No. Series Text Match Impl."{    Access = Internal;    InherentPermissions = X;    InherentEntitlements = X;    procedure IsRelevant(FirstString: Text; SecondString: Text): Boolean    var        Score: Decimal;    begin        FirstString := RemoveShortWords(FirstString);        SecondString := RemoveShortWords(SecondString);        Score := CalculateStringNearness(FirstString, SecondString, GetMatchLengthTreshold(), 100) / 100;        exit(Score >= RequiredNearness());

All 137 lines

Public procedures 2 in 29

IsRelevant(FirstString: Text; SecondString: Text): Booleannew in 25
GetLongestCommonSubstring(FirstString: Text; SecondString: Text): Textnew in 25