public function stem($token) 
    {
        if(strlen($token) < $this->minimumTokenLength) {
            return $token;
        }        
        return preg_replace("/".$this->regexExpression."/i", '', $token);        
    }
public function stem($token) 
    {
        if(strlen($token) < $this->minimumTokenLength) {
            return $token;
        }        
        return preg_replace("/".$this->regexExpression."/i", '', $token);        
    }
public function stem ( $ token ) { if ( strlen ( $ token ) < $ this -> minimumTokenLength ) { return $ token ; } return preg_replace ( "/" . $ this -> regexExpression . "/i" , '' , $ token ) ; }
Return a stemmed word
@param string $token
@return string
Return a stemmed word