let's say I have
list_of_literals <- c('six', 'seven', 'eight' ... )
and I want to pass to
list_of_numerics <- c(6, 7, 9 ...)
I understand that I can map every possible string value to its numeric value, but, let's suppose that I don't have prior knowledge of the values, so mapping will be very inefficient, is there any package that already does this parsing?