Words near hat-switches in the dictionary