[R] Converting english words to numeric equivalents

Rolf Turner r.turner at auckland.ac.nz
Mon Jul 28 05:01:25 CEST 2008


On 28/07/2008, at 12:32 PM, oscar Linares wrote:

> Hello,
>
> I am trying to convert english words to numeric equivalents, e.g.,  
> abc to 123. Is there a function or library or package for doing  
> this in R? If not, can it be done easily in R?

Your question is very ill-posed.  What ``english word'' would  
correspond to 0?
What would the ``english word'' xyz (?!?!) correspond to?

If you can phrase a coherent question, it can probably be answered.

	cheers,

		Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}



More information about the R-help mailing list