Adding more inferencing for replaced texts.