When I search the french word "pied" witch means "foot", I've the message : "You must include at least one positive keyword with 3 characters or more."

Comments

aaron’s picture

this would also be a problem with the 'pied piper' in english, probably a few other words like died or coed. you could fix it with a sledgehammer by changing the 3 letter word setting to a 2 letter word setting, but maybe the module needs a dictionary to match words like this. however, it is specifically for the english language, so i doubt it would be guaranteed to work against too many non-english words.

aaron’s picture

Title: Problem with the french word "pied" » Problem with words such as "pied", "died", and "coed"

changing the title so it's not ignored just because it's a french word

tkgafs’s picture

This is also a problem with names like Laing see http://drupal.org/node/59484

in the module I changed the code as follows

function stem($word)
{
    if (strlen($word) <= 2) {
        return $word;
    }

     /* ignore words ending in ing less than 6 chars long */

    if ((strlen($word) < 6) AND (strtolower(substr($word,-3,3)) == "ing"))
    {
        return $word;
    }

hope this help someone

tkgafs

Steven’s picture

Status: Active » Closed (won't fix)