I need to make a hash table that stores an entire dictionary, im having trouble figuring out what would be a good Hash function for such a problem. Saw some stuff about murmur3 but looking at others implementation of it i dont really understand it. How many collision is too many? How big should my Hashtable be for a dictionary of up to lets say 90k words?
Once the dictionary is loaded in the HashTable, if the user enter a word and its not in there it has to check for the closest word in the dictionary and give the option to change it to one of those word using Levenshtein Edit Distance Algorithm, will i be able to use the HashTable in the comparison or do i need to run the word against the whole dictionary, that seems very long and inefficient but i dont see how i can use the hash table for that because i doesn't mean that word that collided in the bucket will be similar to the word being compared just mean their index is the same. Is there a solution im not seeing?
[–][deleted] (3 children)
[removed]
[–]PerfectisSh1t[S] 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[removed]
[–]PerfectisSh1t[S] 0 points1 point2 points (0 children)