Words near peritectoidally in the dictionary