Im currently doing a textmining process in which I would like to transform similar words (table, tables etc...) into one word (table)'. I saw that the tm package offers a tool for this but this one does not support the language Im looking for. So therefore I want to create something myself.
For the function I want to have a link table ->
a <- c("Table", "Tables", "Tree", "Trees")
b <- c("Table", "Tree", "Chair", "Invoice")
df <- data.frame(b, a)
So that i can automatically transfer all the "Tables" values into "Table"
Any thoughts on how I can do this?