public function stem($token) 
    {
        if(in_array($token, $this->whiteList)) { 
            return $token;
        }
        return $this->spell->suggest( $this->stemmer->stem($token) )[0];
    }
public function stem($token) 
    {
        if(in_array($token, $this->whiteList)) { 
            return $token;
        }
        return $this->spell->suggest( $this->stemmer->stem($token) )[0];
    }
public function stem ( $ token ) { if ( in_array ( $ token , $ this -> whiteList ) ) { return $ token ; } return $ this -> spell -> suggest ( $ this -> stemmer -> stem ( $ token ) ) [ 0 ] ; }
Stem and then look up the word
@param string $token
Stem and then look up the word