lemmatize: Transform words into their base form

View source: R/NLP.R

lemmatizeR Documentation

Transform words into their base form

Description

Transform words into their base form

Usage

lemmatize(text_vec, dict = lexicon::hash_lemmas)

Arguments

text_vec

A vector of text documents.

dict

A dictionary to use to find base forms. See lexicon::hash_lemmas() for the required structure.

Value

The vector with terms transformed into their base form, when possible.


bakaburg1/BaySREn documentation built on March 30, 2022, 12:16 a.m.