Added duplicate word entry prevention framework