code: function step2$1(token) {
                  var r1 = getR1(token);
  
                  if (!r1) {
                      return token;
                  }
  
                  if (r1.match(/(d|v)t$/)) {
                      return token.slice(0, -1);
                  }
  
                  return token;
              }
docs: step 2 as defined for the porter stemmer algorithm.