code: function step1b$1(token) {
                  var r1 = getR1(token);
  
                  if (!r1) {
                      return token;
                  }
  
                  if (token.match(/(b|c|d|f|g|h|j|l|m|n|o|p|r|t|v|y|z)s$/)) {
                      return token.slice(0, -1);
                  }
  
                  if (token.match(/([^aeiouyæåø]k)s$/)) {
                      return token.slice(0, -1);
                  }
  
                  return token;
              }
docs: step 1b as defined for the porter stemmer algorithm.