NLP / WIC Benchmark:
Increased processing speed by adding Binary Searching/Indexing.
Huge results.
Also added to Spell Checking (800 words), and Words (3700).
Original word lists are unsorted, so they are hashed & sorted during run-time.
Processing 5428 sentences x2:
Before: 2600ms
After: 76ms prepare time.
After: linear searching the hash lists: 1700ms (900ms faster)
After: binary searching the hash lists: 930ms (1670ms faster)
There are other processes but for the spell/word search alone, Hashed/Linear resulted in a 1.5x speed improvement, and Hashed/Binary resulted in a 2.8x improvement.