Such an outcome would generally be achieved by storing the ‘word’ within a Story Variable, which is inserted into the textual content of your Passages like so…
Bears like to eat $bearFood when they can get it.
… and then using the (set:) macro to assign/reassign the correct ‘word’ to that variable as needed.