[mythtv-commits] mythtv commit: r20485 by janne
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Tue May 5 00:06:53 UTC 2009
Author: janne
Date: 2009-05-05 00:06:52 +0000 (Tue, 05 May 2009)
New Revision: 20485
Changeset: http://cvs.mythtv.org/trac/changeset/20485
Modified:
trunk/mythtv/libs/libmythtv/eit.cpp
Log:
fix and enhance the fuzzy matching of texts in EIT update code
Most importantly fix a min/max mistake introduced in [9668], the fuzzy matching
would always report at least the same score as an exact match even if there
was not a single word match.
Makes the fuzzy matching symmetric (score(a, b) = score(b, a)) and lowers
score for matches of words with 3 or less charecters. Most of the short
words are rather unspecific (articles, conjunctions, prepositions, ...).
More information about the mythtv-commits
mailing list