Using 'n' and 'v' pos tag together in WordNetLemmatizer

In the Step 4 of this short project, we were shown two ways of lemmatizing words, i.e. either using nouns or using verbs. I’m wondering if we can club them together?
I ask so, because I feel there’s not a lot of common words for these categories, and in case there are we may define to keep (say) the lemmatization according to noun.

https://nt.dev/s/d378ebb33d46

Hey, thanks for reaching out! Hmm, I’m not sure I follow. Are you asking whether or not you can pass both n and v as the pos argument? I don’t believe you can. The NLTK documentation can provide some detail on this.

If this is not your question, can you please provide more detail?

Thanks!
Lorraine