Compare strings that doesn't match 100%
Posted: Thu Jan 25, 2007 6:12 am
Hy to all,
I want to implement a small application for me, for odds comparison but unfortunately I got a dead end.
I succeeded to import the games and odds from all the bookmakers that is interesting me, but now I have some problem finding the same game on 5 bookmakers.
The problem is that they don't have all the same name for a team.
For example : Fc Koln (from Germany) can be find as : Koln or Coblenza.
And now I don;t know how to handle is the best manner the problem.
Can someone suggest me how to think this problem ? I was thinking on some AI or maybe to have some mysql tables for to write all the possibilities for a team (this will be do only the first time)
I want to implement a small application for me, for odds comparison but unfortunately I got a dead end.
I succeeded to import the games and odds from all the bookmakers that is interesting me, but now I have some problem finding the same game on 5 bookmakers.
The problem is that they don't have all the same name for a team.
For example : Fc Koln (from Germany) can be find as : Koln or Coblenza.
And now I don;t know how to handle is the best manner the problem.
Can someone suggest me how to think this problem ? I was thinking on some AI or maybe to have some mysql tables for to write all the possibilities for a team (this will be do only the first time)