Paper record

W1984081611

Recursive hashing functions for n -grams

Jonathan Cohen

Year
1997
Venue
ACM Transactions on Information Systems
References
39
Cited by
75

Details and counts from OpenAlex.

Abstract

Many indexing, retrieval, and comparison methods are based on counting or cataloguing n -grams in streams of symbols. The fastest method of implementing such operations is through the use of hash tables. Rapid hashing of consecutive n -grams is best done using a recursive hash function, in which the hash value of the current n -gram is drived from the hash value of its predecessor. This article generalizes recursive hash functions found in the literature and proposes new methods offering superior performance. Experimental results demonstrate substantial speed improvement over conventional approaches, while retaining near-ideal hash value distribution.