Closest match to a string

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 commentaire

Rik
Rik le 9 Fév 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

Tags

Question posée :

le 9 Fév 2019

Commenté :

Rik
le 9 Fév 2019

Community Treasure Hunt

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

Start Hunting!

Translated by