Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

java-code ... how 'matching' are 2 strings ?

Thread view: 
pet0etie - 11 Feb 2006 17:04 GMT
hi,

a long time ago there was a thread here about some java-code that expressed
'how much' 2 strings where equal to eachother

let's say you have string "abba" and string "abbc" then they were
"1-matching" beause you had to change one letter to become the second string

the strings "aba" and "aba" were 0-matching
the strings "aba" and "abaa" were 1-matching
the strings "aba" and "c" were 3-matching

however ... i'm not really sure about the "integer"-result
i thought the result was referred to the length of the strings too

does anyone knows which function this is and where i can find it back ?
at this point of develloping the code seems to be very helpful to me

thanx to anyone who points me in the right direction
pet0etie
Stefan Ram - 11 Feb 2006 17:09 GMT
>thanx to anyone who points me in the right direction

http://google.to/search?q=java+edit-distance+int+return+-summary+-Lucene
pet0etie - 11 Feb 2006 18:05 GMT
> >thanx to anyone who points me in the right direction
>
> http://google.to/search?q=java+edit-distance+int+return+-summary+-Lucene

thanx both of you ...

the first link i clicked in the google-searched did it
it was the same page i saw a time ago to use

back to the programming stuff now
and a huge 'thank you'

pet0etie
Kevin - 11 Feb 2006 17:20 GMT
I think that is called "edit distance" also.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.