improve spell checker performance when large number of dictionary words