I have a small problem. I am writing a program for school in which I will construct a hash table for dictionary words, using the soundex code of the word as the hash function. For the hash function, I have to take the soundex code and convert it into a number. Here is what I know so far:
there are 26*7^4 possible soundex codes (which is 62426)
Can anyone help me to understand how to convert the soundex code (i.e. "T5600") into an integer?