Is there an algorithm that gives two lines, gives a degree of equality between them, using metrics that can be provided externally? For example, the two lines "Plant code" and "PlantCode" can be equal to 0.8, "Plant code" and "Plant" can be equal to 0.6, "Truck no" and "shipment details" can be equal to 0.6 ( using dictionaries with syntax provided at least). The numbers are compiled, but I hope they all understand. Is there such an algorithm? I would prefer it to be like a library, instead of implementing it yourself. Any help would be greatly appreciated. Thanks.
source share