Mercurial > hg > svcore
changeset 447:804601e50fd5
* More transform finder stuff
author | Chris Cannam |
---|---|
date | Mon, 29 Sep 2008 16:31:49 +0000 |
parents | aa190a6a2625 |
children | 2fb0061c5d23 |
files | transform/TransformFactory.cpp |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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();