|
-
Aug 26th, 2005, 12:35 PM
#1
Thread Starter
New Member
Comparing Company Name from 2 diffrent Sources
Currently Im getting two files with Company name in it from two diffrent Sources. I would like to run a compare the see if a company resides in both files. The only problem I have is that a company can be not exactly the same. For example a company might be called THE ABC COMPANY LLP and in the other file it might be A.B.C Comp How can I write code to compare these two values and return a positive match if they are similar. Thanks
-
Aug 26th, 2005, 01:02 PM
#2
Re: Comparing Company Name from 2 diffrent Sources
What kind of files are you getting?
-
Aug 26th, 2005, 01:10 PM
#3
Thread Starter
New Member
Re: Comparing Company Name from 2 diffrent Sources
-
Aug 26th, 2005, 01:28 PM
#4
Lively Member
Re: Comparing Company Name from 2 diffrent Sources
Do you want your computer to tell you that two non-identical values are identical? In other words, would it have to decide which pair of names are similar enough to be considered as the same company... I don't think this is very feasible.
Good luck!
-
Aug 26th, 2005, 01:31 PM
#5
PowerPoster
Re: Comparing Company Name from 2 diffrent Sources
sounds like a good 'artificial intelliegence engine' project
-
Aug 26th, 2005, 01:33 PM
#6
Hyperactive Member
Re: Comparing Company Name from 2 diffrent Sources
Reply to bmatrose,
Hello bmatrose,
The file type here is not the issue,
what you want is very hard to do because you can have another company call ABC Company Ltd. and it will be wrong thing to compare the names.
If you know that you dont have 2 companies with the almost same name and you know you have at least 1 word matching (ABC and A.B.C are matching without the dots)
you can make new strings without dots or other signs and see if they matches.
ERAN
Eran Fox
ASSEMBLER,C,C++,VB6,SQL...
-
Aug 26th, 2005, 01:35 PM
#7
Re: Comparing Company Name from 2 diffrent Sources
That's not going to work unless you strip out the periods, and use upper case. Then it *might* work.
-
Aug 26th, 2005, 04:47 PM
#8
Hyperactive Member
Re: Comparing Company Name from 2 diffrent Sources
Thats the problem with text comparing.
Cant you ask for numeric key or something like that to be added to your csv file?
ERAN
Eran Fox
ASSEMBLER,C,C++,VB6,SQL...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|