You can either lemmatize a wordform or a document as a whole.