Maybe a user could provide a list object with preferred text for each token?
Something like:
r2eng::translate("1 / 1", dict = list("/" = "divided by"))) # rather than 'over'
It's probably preferable for this to be set as an option() so that it can always be applied when the function is called in a given session.
Maybe a user could provide a list object with preferred text for each token?
Something like:
It's probably preferable for this to be set as an
option()so that it can always be applied when the function is called in a given session.