substitute text based on a list of origin-replace pair words