I am working on Contacts Provider module in Android. The file 
NameDistance.java in this module uses the Jaro - Winkler algorithm for 
computing the distance between two normalized strings (passed as byte 
arrays). This part is used when Android needs to decide whether two or more 
raw contacts are to be merged. I have some doubts regarding this algorithm:
 
1. Is the algorithm case sensitive (i.e. is "MARTHA" and "martha" different 
or same?)
2. The file NameDistance.java has two constructors, and Android calls one 
of them based on a variable 'algorithm' (in ContactMatcher.java). I am 
unable to get how this variable is getting affected in the 
ContactMatcher.java file. 
 
Any help would be appreciated. Thanks! 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to