Comparing Letters

Hi!!! Knime Experts

Hope you are doing well.
Just need your help to compare certain words, so that i can progress in my workflow.

Requirement:

Input:

Name of Vendor:
Qwerty Private Limited
Qwerty Private Ltd.
Qwerty Pvt. Ltd.

All the three name is for single vendor, but in KNIME it’s showing 3 unique name, what steps shall i use or what changes shall i do that knime would consider all 3 as same.

Thanks in advance.
:slight_smile:

Hi @ravi13,

You can replace Pvt. and Ltd. (and any other similar abbreviations) with their complete forms or vice versa.

:blush:

1 Like

hi!!
@armingrudd Thanks, but it is not only for this vendor, their are many vendor, can you suggest any Specific node that I can use.

Can you provide more examples?

@armingrudd

Sure like

  1. Limited vs Ltd
  2. Ltd vs Ltd.
  3. Ltd. vs Limited
  4. Pvt vs Pvt.
  5. Pvt vs private
  6. private vs Pvt.
  7. Same name having extra character i.e. “.”,“Space”,","etc.

We need to give the condition that knime need to consider as one name.

Hi @ravi13

Check this Forum Post About finding duplicatea compagnies.
gr,. Hans

3 Likes

Thanks!! @HansS
just 1 question, how to get string similarity node?
that node is not in my arsenal

1 Like

Hi @ravi13
The String Similarity node comes with the Paladian nodes. Additional extensions are available by enabling the Update Site in KNIME via File -> Preferences -> Install/Update -> Available Update Sites Add: http://download.nodepit.com/palladian/4.0 And then it can be installed: by selecting File -> Install KNIME Extensions (source: https://www.knime.com/community ).
gr. Hans

1 Like

@HansS Thanks!! :slightly_smiling_face:

1 Like

Hi!! @HansS but using String similarity we gets only percentage of similarity. How to further use it to consider as one name.

That is a good question. I think you need a human in the loop. You have to find out, to what percentage you can go, to be sure (to some level) it is the same company. Maybe it is a good step to first “clean” your data and enrich it with some business logic, translated to rules (as @armingrudd suggested).
gr. Hans

4 Likes

@HansS @armingrudd

Still here ,involvement of human how will it benefit ?
All names are of same vendor, but one is 72.2% same & another is only 41.2% how to solve this issue, + this is only example for 1 vendor there are many more, in that situation we need to give different range for different vendor, it will become little bit tedious.

please guide … :upside_down_face:

You may need to play with n value for n-gram. and see which one is working better.

Hi!!
@armingrudd Can you please guide me, I am stuck here?27_Data.xlsx (85.3 KB)
This are name of vendors

As @HansS suggested, you can first clean the strings (a bit) and then find similar names to replace.

Here I have built a workflow. I hope it helps. And of course, any feedback would be appreciated (@mlauber71, @ipazin, @HansS).

23094-1-1.knwf (388.0 KB)

I have set the threshold to 0.8 but you can change it to your desired value.

:blush:

3 Likes

Hi!! @armingrudd really kind of you. :blush:

1 Like

Hi there @armingrudd,

didn’t look in details but seems in such cases Index Query node is better option. Used it couple of times and was really satisfied with outcome. I can try to create example and compare workflows and results.

Br,
Ivan

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.