Click here to Skip to main content
15,891,976 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have list of hotel name with their address from different suppliers.i need to match hotel name from one supplier, for example one supplier gives hotel name like "El Conquistador Resort, a Waldorf Astoria Hotel" and other suppliers provides same hotel name like "El Conquistador Resort -Waldorf Astoria Collection" or "Country Inn Suites Olean"other supplier gives"Country Inn & Suites By Carlson, Olean, NY. i need to achieve at least 90% accuracy.

Please help me .Thanks in advance..........

More Example ...

"Courtyard by Marriott Salt Lake City" ,"Courtyard Salt Lake City Downtown" And
"Stamford Plaza Auckland" , "Stamford Plaza Auckland" And
"Hampton Inn Houston I45 North" , "Hampton Inn Houston-The Woodlands" And
"Marriott Knoxville" , "Knoxville Marriott" And
"Hotel Clarion Quebec","Clarion Hotel Quebec Ste-Foy" And
"Schlitterbahn Beach Resort and Waterpark" , "Schlitterbahn Beach Resort and Water Park"And
"The Hills Hotel, an Ascend Hotel Collection Member","The Hills Hotel, an Ascend Collection hotel"
Posted
Comments
PIEBALDconsult 26-Feb-15 23:44pm    
I second Levenshtein Distance, but eventually you'll probably need a person to review them.

1 solution

The program will need to find a way to measure the similarity between words, check out the Levenshtein Distance Algorithm[^]
 
Share this answer
 
Comments
PIEBALDconsult 26-Feb-15 23:39pm    
Yup. I've used that for that purpose before.
Peter Leow 27-Feb-15 2:49am    
Thank you, PIEBALDconsult.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900