devicemap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volkan YAZICI <>
Subject Deterministic Ngram Matcher Hits
Date Mon, 29 Dec 2014 11:46:15 GMT
Hi all,

If I am not mistaken, the employed ngram matcher has potential to return
different results for different traversel orderings provided by the
underlying collections framework. This is also evident from the following

   - HTC One X+ matches to both HTC One X and HTC_One_X.
   - DMAP-112: Java client test fails with JDK 1.8.0-25

I have been thinking about this and it occurred to me that instead of
returning a single hit with the highest score (which varies with the
employed collection traversal ordering), we can return the set of all
feasible hits with the same score. I believe, this will make it easier to
unit test the matcher on different platforms. Comments?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message