Closest match to a string

11 Ansichten (letzte 30 Tage)
Wesso
Wesso am 9 Feb. 2019
Kommentiert: Rik am 9 Feb. 2019
Hi,
I need to match two tables based on the name of a company. Each table refers to the company differently. I am wondering if there is a way to match two tables using the closest match possible between the names . For instance
Table A refers to one company as " Storm Ventures International"
Table B refers to the same company as " Storm International(Barbados)Ltd "
Another match would be in Table A " Uglegorsk-Tsement "
in Table B " ZAO Uglegorsk-Tsement "
I am wondering how can I make match the two tables based on the closest match?
  1 Kommentar
Rik
Rik am 9 Feb. 2019
You can use a diff tool to compare all combinations. Since it is very non-trivial to write a diff tool, I'm not going to do that. If you find something that needs line by line input, you can put every character on its own line.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by