So I went ahead and did some more tests between the new devicemap client, the openddr client, and dclass and im seeing very good consistency. The last few issues im seeing:
-Some devices share a pattern. Right now a pattern can only point to 1 device. Ex: <device id="SAMSUNG GT-I9100"> <list> <value>SAMSUNG</value> <value>gt-i9100</value> </list> </device> -and- <device id="GT-I9100"> <list> <value>GT-I9100</value> </list> </device> The gti9100 pattern is being shared. So this needs to be taken into account. -The "X10" pattern picking up on "OS X 10". So I may just bit the bullet and support a limited set of regex. This will allow me to *not* strip out symbols and whitespace and will resolve this bad match. Performance is pretty good, right now the average classification in java is sub 1ms (around .7ms). Even with the regex fix, I think it will still be under 1ms. ________________________________ From: eberhard speer jr. <[email protected]> To: "[email protected]" <[email protected]> Sent: Tuesday, June 25, 2013 2:44 PM Subject: one more fix -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 OK, I applied all the updates and fixes... More java in these last few hours than I've seen and worked on in years ;-) It still flies thru the 47,485 user-agents in 32 seconds and the results again look greatly improved. However to get an accurate result I'll have to do some SQL-ing to weed out the devices no longer in the current resources. But before that some much needed pizza & beer, I think we've all earned it ;-) Hope to post the updated results later tonight. esjr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRyeUWAAoJEOxywXcFLKYcqtIH/3n0xXOJcx4rMbem8HN0qtYc r/pTsZIdz6cXp7FXftrQzCbFcrbA5UKB7ADEvWcBAh3MeLrXA8xj2xY9MI3bajKs ylYRfhnBGv2xSbpmXW6Ml0OkQu4zPBciYaaY1B/+CG4NZ1ipkLwAna4Y/7uPDbbd p2m47LYq7yk1PNqFj3cbG5H0F2UGoACERcqPCdXmeA7sbS4YhqT0mRgArHBm6s1W oXE4i7a3NStm1HlP0jabmYFyYekQrd8Sz9fhGbha8Lhu9tQr2xGysCtlbikuwKYW F/El+lYdA9HXosXrY4vduhJrUKRv2M29eIsU2lKQ1wuVlwIKKQjHhrA1Lj3Ic7o= =xsHo -----END PGP SIGNATURE-----
