Words near forests and trees in the dictionary