Mercurial > hg > svcore
diff transform/TransformFactory.cpp @ 447:804601e50fd5
* More transform finder stuff
author | Chris Cannam |
---|---|
date | Mon, 29 Sep 2008 16:31:49 +0000 |
parents | aa190a6a2625 |
children | ef14acd6d102 |
line wrap: on
line diff
--- a/transform/TransformFactory.cpp Mon Sep 29 15:06:43 2008 +0000 +++ b/transform/TransformFactory.cpp Mon Sep 29 16:31:49 2008 +0000 @@ -822,6 +822,11 @@ { if (m_transforms.empty()) populateTransforms(); + if (keywords.size() > 1) { + // Additional score for all keywords in a row + keywords.push_back(keywords.join(" ")); + } + SearchResults results; for (TransformDescriptionMap::const_iterator i = m_transforms.begin();