create word hash