[This is not a classical puzzle question, so I don't care about spoiler markup.]
You can get the numbers as follows:
Convert the word to a list of numbers according to their 0-base index in the alphabet. For example,
"abc"
→ [0, 1, 2]
Treat each element as a base 26 digit and convert to a number:
[0, 1, 2]
→ 0×26×26 + 1×26 + 2 = 28
Now convert that number to a base 7 representation:
28 = 4×7 + 0 = 407
There's one ambiguity: Leading a's will have no impact on the number and hence cannot be recovered when reconverting back to words. The hint Aplha 7 means that you have to convert according to the alphabet first and to base 7 then.