hash tables converting words to numbers what we need is system for turning word into an appropriate index number to beginwe know that computers use various schemes for representing individual characters as numbers one such scheme is the ascii codein which is is and so onup to for howeverthe ascii code runs from to to accommodate capitalspunctuationand so on there are really only letters in english wordsso let' devise our own codea simpler one that can potentially save memory space let' say is is is and so on up to for we'll also say blank is so we have characters (uppercase letters aren' used in this dictionary how do we combine the digits from individual letters into number that represents an entire wordthere are all sorts of approaches we'll look at two representative onesand their advantages and disadvantages adding the digits simple approach to converting word to number might be to simply add the code numbers for each character say we want to convert the word cats to number firstwe convert the characters to digits using our homemade codec= = then we add them thusin our dictionary the word cats would be stored in the array cell with index all the other english words would likewise be assigned an array index calculated by this process how well would this workfor the sake of argumentlet' restrict ourselves to letter words then (remembering that blank is )the first word in the dictionaryawould be coded by + + + + + + + + + = the last potential word in the dictionary would be zzzzzzzzzz ( zsour code obtained by adding its letters would be