Dot features class for hashing documents