More concise word hashing