I have a problem, I need to relate a value to a letter. The values come in an array. For example:
Value vector -> [1,2,3,1,2,5,1,...,8]
I need an idea to make the first number of that vector be linked to the letter "a", the 2nd number to the letter "b", etc until the last number to the letter "z".
So, a -> 2
, value of "a" is 2.
The purpose of this is if I have a word like "air" I want the value of air to be the value of "a" + the value of "i" + the value of "r".