Words near foreground/background in the dictionary